Search the Community
Showing results for tags 'boost'.
-
Boost your sales by stimulating customer interest and urgency. Trigger purchases with sold items of product popularity with this nice module : Link to addons store
-
If you don't have the budget to get a CDN, you can benefit of MEDIA SERVERS in order to divide page request into three subdomains and speed up your web. As I read, a web browser only executes 8 page requests per domain at the same time. So if you divide content on different domains, the browser will be able to execute more request than 8 at the same time. Note that you will not have the principal feature of a CDN, as your content will be still served from the same server. But at least you will be taking advantage of this unused performance. For the media servers configuration of http://www.site.com you have to do: 1. Create subdomains (on your server configuration panel, cpanel, plesk or whatever) that points to the same directory where you have installed http://www.site.com (I mean that all subdomains needs to have the same path as root folder that the main domain has). Subdomain examples: static1.site.com static2.site.com static3.site.com 2. Set that subdomains on each media server field (performance preferences). 3. If you are using SSL on your store and you don't have a wildcard certificate, you have to do the next step in order to don't use media server on https pages: ·PS 1.5 - Follow the next tutorial: http://blog.dh42.com/prestashop-media-server-hack/ ·PS 1.4: You need to add the next condition to the second if statement of the getMediaServer($filename) function (line 1742 aprox.) in "classes/Tools.php" Tools::usingSecureMode() == false Here you can see the original if statement: if (self::$_cache_nb_media_servers AND ($id_media_server = (abs(crc32($filename)) % self::$_cache_nb_media_servers + 1))) return constant('_MEDIA_SERVER_'.$id_media_server.'_'); So you have to replace "AND" with "&& Tools::usingSecureMode() == false &&": if (self::$_cache_nb_media_servers && Tools::usingSecureMode() == false && ($id_media_server = (abs(crc32($filename)) % self::$_cache_nb_media_servers + 1))) return constant('_MEDIA_SERVER_'.$id_media_server.'_'); Sources: HA!*!*Y post and dh42 blog. Regards.
- 10 replies
-
- Media servers
- ccc
-
(and 7 more)
Tagged with: