Another step to increasing your PrestaShop 1.5 performance is to install a serverside caching system. Caching holds frequently searched pages in a memory to reduce load on the server that is used to create the pages for visitors to view on demand. It also reduces the load placed on the database as each page has to make several calls to it whenever it is constructed. A copy is kept in memory for a certain amount of time and anyone who needs to see a page that has previously been viewed will see that copy. This helps your site run faster and is good for both your server and your customer.

Memcached is one such option and is ready to be used by PrestaShop. This particualr caching systems is free and easy to use. It is also used by other major players on the web such as Craigslist and Wikipedia. Below is a set of instructions on enabling a caching system for your PrestaShop 1.5 store.

Note that adding additional caching systems as described in this article can only be performed on a VPS or Dedicated server.

Improving performance by enabling a caching system in PrestaShop 1.5

  1. Log into your PrestaShop 1.5 dashboard.
  2. Using the top menu bar, hover over the Advanced Parameters tab and select the Performance option.
  3. From the Performance settings screen, scroll down until you find the Caching section. This is the next to last section on the screen. From there you will see two settings. Make sure you select the green checkmark for the Use Cache field and then select the caching system type from the dropdown. In this example, we selected Memcached.

    caching

    Memcached This caching system can be used with multiple servers. It has a requirement as listed in the warning above, so be certain that requirement is met. You will need to enter server information when using this option.
    memcached
    APC APC is Alternative PHP Cache, and can be used with a single server. This one also has a prerequisite addressed above in the warning image.
    Xcache While an option for non-Apache servers, this cannot be used on InMotion Hosting servers.
    File System A basic system, it has no prerequisites. File System caching creates files and saves them on your server.
  4. Click on the green Save button at the top of the screen to save the caching configuration.
You are viewing Section 6: How to enable caching in PrestaShop 1.5
Section 5: Adjusting the caching setting for performance in PrestaShop 1.5
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 this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

2013-08-23 9:53 pm
Just one problem with this: memcache doesn't work in Prestashop! It's totally useless and buggy.
Staff
10,207 Points
2013-08-26 3:08 pm
Hello charison1988,

Thank you for your comment. Many hosting environments do not have memcache installed by default, you may want to contact your hosting provider to make sure it is available.

For example, memcache can be installed only on our VPS and Dedicated severs.

Here is some additional information on memcache.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
2013-08-26 11:08 pm
I compiled and installed memcache myself - it's definitely working. I'm talking about the fact that Prestashop's cache classes are buggy to the point where memcache is unusable. This has been the case since at least the early versions of 1.4 and is still the case in the latest version (1.5.4.1). See bug report here:
http://forge.prestashop.com/browse/PSCFV-10150

This issue has been brought up again and again and again throughout my years of Prestashop development. It never gets fixed. I'm surprised that you're even advocating people use this. Because if you'd ever actually enabled this option in a production environment you'd know exactly what I'm talking about.
n/a Points
2014-03-04 9:03 am

Found this topic and i need some help, im using prestashop with one hosting provider using their VPS, the problem i had with my store was that it just simply stoped working, the issue was with cache they told me its eating up space and exceed the quota i have on the VPS server. Im not sure what that really means, and im not a codeing guy to know how to fix this, so i simply turned off cache and also i have turned off smarty chache in my backoffice. But now i have two exclamation points on my backoffice configuration list, and i noticed that my webpage loads slower. What do you suggest me to do? What cache system to use on prestashop, and do you think its cache or smarty cache issue of having free disk space eaten up?

Thanks for your answers

Staff
10,207 Points
2014-03-04 12:07 pm
Hello Dandzii,

Thank you for your question. It is difficult to help without additional information; can your hosting provider provide server logs or more details as per the issue?

Is your server using memcached? If not, what type of caching is the server using?

Are you getting error messages along with the exclamation points? What are the errors?

Can you provide a link to your website?

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

5 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!