Caching is used to improve performance in many computer applications and operations.  It can also be used to help with performance in PrestaShop.  Caching speeds up operations by storing data in the server memory to reduce task queries on the database. The different caching options that can be used are found in PrestaShop in the Advanced Parameters section under Performance. The following article explains the options for using Caching in the PrestaShop 1.5 Administrator.

Setting up Caching to Improve Performance in PrestaShop 1.5

  1. To get to the Performance section of the Advanced Parameters for Prestashop, first login to the Administrator as an Administrator
  2. Hover over menu bar where it says ADVANCED PARAMETERS - click on PERFORMANCE when it appears in the drop-down menu.
  3. Scroll down until you see the following screen:
    prestashop15-advparams-caching-1

    These are the caching options that are available in the drop-down menu. 

    Memcached
    APC
    Xcache
    File System

    These options do need some setup on the server before it can be used.  If it is not setup you will see the following warnings:

    prestashop15-performance-warnings-yellow

    Note that the XCACHE systems does not work on the Apache server - the hosting server used with Web Hosting Hub.  Select this option only if you know that Lighttpd server is being used.

    Enable the caching option by clicking on the green check's radial button.  Otherwise, click on the red 'X' to disable it.

  4. The following table defines the different options available for caching:


    Memcached Based on a distributed caching system that can be used with multiple servers.  The PHP Configuration of your server must
    have the Memcached PECL extension.  If you select the Memcached solution, click on ADD SERVER and you will see the following:
    prestashop15-advparams-memcach-addserver
    APC Stands for Alternative PHP Cache - requires one server and requires the APC PECL extension.  When you select this option you will see the following:
    prestashop15-advparams-apc-caching

    Note the warning regarding the infrastructure for the front-end server.  Contact Technical Support if you have any questions in regards to this issue.
    Xcache This is a new system, but requires Lighttpd server and will not work on Apache server.  For more information go to http://xcache.lighttpd.net
    File System File system caching simply saves the files on your server


    Select the caching system that works best for you per your needs by clicking on the drop down menu and meeting the requirements as listed above.
  5. Click on the green SAVE button in the top right hand corner in order to save your entries.

If you find yourself requiring to take measures to improve performance for your PrestaShop installation, make sure to check your caching options.  Caching reduces the workload that the PrestaShop application must do by saving on required database queries.  The information is saved ahead of time so that it simply has to retrieve it from the "cache" where the values are saved.  Select this option after reviewing your server performance.  If you are unable to get the required information about your server optimization or are unfamiliar with this process, contact the support team that maintains your hosting service. 

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.