Application Caching

March 7, 2012 / Posted in Tips&Tricks by Pavel Novitsky

                                                                   «We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil»

Donald Knuth

In previous articles I have dealt with the implementation of caching on the side of the web server. Caching allows you to save frequently used information on disk or in the memory and save time when it is retrieved. Now we’ll examine how the application caching is used to reduce loading and decrease the response time of Web server.


Developer Tips: Adding Tabs to Product Page in Prestashop

February 22, 2012 / Posted in Prestashop, Tips&Tricks by Alex Simonchik

My name is Denis and I decided to make my developer contribution to BelVG blog. Currently I’m writing modules for Prestashop, and as far as a lot of developers have to deal with the same Prestashop template inconveniences, I want to share some ideas I came out with while working on Subscription module.

With its assistance customers will be able to subscribe to products automatic purchase and delivery (e.g. bottled water for office needs, coffee, magazines, newspapers, etc.). Apparently, each product that is available for subscription, requires its own individual configuration.

Unfortunately, Prestashop Back Office doesn’t offer options of adding new tabs to the editing product page, which will be used to configure products, necessary for the module operation. It turned out that in order to create a new tab, you need to add the following HTML code into DOM structure:

Tab Header

Tab Content



Caching and Page Loading Optimization

February 8, 2012 / Posted in Tips&Tricks by Pavel Novitsky

Today we continue reviewing caching and page loading optimization issues. We start this post with cache proxies and then offer 10 useful recommendations for website creation.

Cache Proxies

Caching in the Web server can be implemented in two ways. The Web server can cache static data in the memory and dramatically reduce required time to form page. Some Web servers, such as G-WAN, Nginx, Squid are optimized for static data and automatically cache data into memory. Other Web servers allow you to organize caching with configuration files. Apache, for example, supports mod_cache module, which provides a cache-memory for static content (mod_mem_cache) and the disk cache for data caching that is collected from dynamic sources (mod_disk_cache).


Useful Tips to Apply While Importing Customer List

February 7, 2012 / Posted in Magento, Tips&Tricks by Siaržuk Piatroŭski

Many website owners want to import customers from their old sites or email services like MailChimp to some new location. Basically, Magento has all required functions for a standard importing, but sometimes more complex actions with customers are needed. It concerns, for example, extracting customers from CSV and CSV-like files and sending them welcome email messages.

We suggest you to download the module sample that helps importing CSV customer list, generated by MailChimp, to your Magento store. The archive includes two customer titles for practicing purposes and is tested on Magento 1.6.



Cache-Control Header

February 1, 2012 / Posted in Magento, Tips&Tricks by Pavel Novitsky

One of the most flexible caching tools is the Cache-Control header. It supports a number of directives that can be specified by commas. For example,

Below we mention acceptable directives for the header response.


Web Server Caching

January 25, 2012 / Posted in Magento, Tips&Tricks by Pavel Novitsky

So as we figured out at the previous post the load testing is just as important for the site as attractive design and competent advertising.

Sudden surge of visitors exceeding the capabilities of the Web server can cost for companies tens and sometimes hundreds of thousands of dollars. Therefore,  it is worth caring of the server selection and its configurations from the early days of your website development.

There are many tricks  to increase the speed of web pages loading.. In some cases it is possible to achieve productivity growth of 500%-600% using  simple optimization techniques.

The best answer for the question “How will I force the site to run faster?” is to use caching.

ViSolve reveals quite interesting return on investment data if you have two caching servers.

Now we will try to understand how two different types of caching help to keep the server resources and reduce the response time of Web pages.

What is caching?