Changes not showing in your PrestaShop: cache, theme compilation and what to touch in each case

Changes not showing in your PrestaShop

You change a price, a text or a colour in the back office, save, and the shop still shows the old version. You save again. You open another tab. Nothing. It is almost never a bug: it is one of the five cache layers between the back office and the customer’s screen, and you need to know which one before touching anything, because switching them all off “so it shows” leaves the shop slow.

Below you will find the five layers, how to tell which one is hiding your change, what to touch in each and what never to touch in a shop that is selling.

The five cache layers

Layer What it stores Where it is handled
Browser Copies of CSS, images and pages on your own computer In your browser
PrestaShop cache The output of modules and parts of pages Advanced Parameters > Performance
Theme compilation The theme already prepared so it is not recalculated on every visit Advanced Parameters > Performance
Combined CSS and JavaScript The theme files merged and compressed Advanced Parameters > Performance
Server and CDN Copies of pages or files on the server or an external service In the hosting or the CDN
The five cache layers in PrestaShop
Between the back office and the customer.

How to tell which one it is

  1. Open the shop in a private window or on your phone using mobile data. If the change shows there, it was your browser. Done.
  2. If it is a text, a price or a product and it does not show anywhere, it is usually the PrestaShop cache. In Advanced Parameters > Performance, use the clear cache button.
  3. If it is a design change to the theme (colours, theme files), it is usually the compilation or the combined CSS. Clear the cache and, if nothing changes, check how compilation is configured.
  4. If it still does not show after clearing everything in PrestaShop, the copy is on the server or on a CDN such as Cloudflare. Purge it from there.
  5. If the change was in a theme CSS file and the theme works with files that need regenerating, editing the final file does nothing or gets lost at the next update.
How to tell which PrestaShop cache layer is hiding the change
From the outside in.

Is this happening to you right now?

Leave us the URL and what you are seeing. A technician will look at it today and tell you what it is before touching anything.

We reply within 24 working hours.

What settings to leave in a shop that sells

In Advanced Parameters > Performance:

  • Theme compilation: “recompile templates if the files have been updated” while working on the design; “never recompile template files” once the shop is stable, which is the fastest. “Force compilation” only to debug for a moment: with it on, the shop is slow.
  • Cache: on.
  • Combined and compressed CSS and JavaScript: on, unless a specific module breaks with them. If it breaks, fix the module instead of switching it off for everyone.
  • Debug mode: off. When it is on, the shop shows errors to customers and runs slower.

And one rule: after every design change, every new module and every update, clear the cache. If something breaks when you do, the problem was already there; the cache was just hiding it.

What changes when the cache is set up properly

Before and after a properly configured PrestaShop cache
Fast and with changes visible.

Changes show as soon as the cache is cleared, the shop is fast because nothing is recompiled on every visit, and nobody has to leave debug options switched on “just in case”. If it is also slow, we explain that in slow PrestaShop.

The order of work

The order of work for PrestaShop cache problems
Without switching anything off for good.

Three cases and which layer it was

To show how the diagnosis works in practice, three situations that come up again and again in PrestaShop shops:

You change a product’s price and the product page still shows the old one. First check whether the product has a specific price or an active catalogue price rule, because then the price you see is not the one you changed but the one the rule calculates. If there is none, clear the PrestaShop cache. If the product page is now right but the category listing is not, the listing is being served by a module with its own cache, or by the server.

You change the button colour in the theme and nothing happens. If you edited the CSS from the back office, the change does not show until you clear the cache and regenerate the combined CSS. If you edited the theme files directly, check whether the theme works with source files that get compiled: in that case the file you edited is not the one being served, or it will be overwritten at the next compilation.

Everything looks fine on your computer, but a customer says they see the old version. It is almost always their browser cache or the CDN’s. If you use Cloudflare or a similar service, purge that URL or the whole site. If you do not use a CDN, check whether your hosting has its own cache switched on in its control panel, because many do and nobody remembers it.

In all three cases the rule is the same: go from the layer closest to the customer to the innermost one, and do not switch anything off permanently to get out of trouble.

When a cache is hiding a problem

There is one case worth recognising. Sometimes the cache is cleared and the shop breaks: a blank page, a cart that does not work or a broken theme layout. Clearing the cache did not break anything. The shop had been running for days or weeks on an old copy, and the real error, usually an updated module or a modified file, only appears when PrestaShop generates the pages again.

That is why it is better to clear the cache at a low-traffic time, check the home page, a category, a product page and the cart straight away, and have a recent backup. If something fails, switch debug mode on for a moment to see the error, fix it and switch it off again.

What breaks if you get it wrong

  • Leaving “force compilation” on because that way changes show. The shop is slow for every customer.
  • Turning the cache off for good.
  • Turning off combined CSS because one module broke, instead of fixing the module.
  • Editing the theme’s compiled CSS and losing the changes at the next update.
  • Deleting server cache folders by hand without knowing what is in them. You can take out files that are not cache.
  • Leaving debug mode on in the live shop.

In short

  1. It is almost never a bug: it is one of the five cache layers.
  2. Diagnose from the outside in: browser, PrestaShop, theme, combined files, server.
  3. In production: cache on, compilation not forced, debug off.
  4. After every design change, module or update, clear the cache.
  5. If something breaks when you clear the cache, the problem already existed.

When you cannot do this yourself

Testing in a private window, clearing the cache from Performance and purging the CDN is something you can do. Finding which module breaks with combined CSS, working on the theme without touching compiled files, configuring the server cache and leaving everything fast and stable needs someone who knows PrestaShop inside out. That is what we do in PrestaShop maintenance.

Is this happening to you right now?

Leave us the URL and what you are seeing. A technician will look at it today and tell you what it is before touching anything.

We reply within 24 working hours.

Frequently asked questions

Why are my changes not showing in PrestaShop?

Usually because of one of the cache layers: the browser’s, PrestaShop’s, theme compilation, combined CSS and JavaScript, or the server or CDN. Check them from the simplest to the most complex.

Where do you clear the cache in PrestaShop?

In Advanced Parameters, Performance, with the clear cache button. If the change still does not show, check the server or CDN cache.

Is it bad to turn off the PrestaShop cache?

Yes, in a shop that sells. The shop gets slower for every customer. Keep the cache on and clear it after each change.

Which compilation setting suits a live shop?

“Never recompile template files” when the shop is stable, clearing the cache after each change. “Recompile templates if the files have been updated” while working on the design. “Force compilation” only briefly, to debug.

Can clearing the PrestaShop cache break the shop?

Clearing the cache does not break anything by itself. If an error appears when you do it, it already existed and the cache was hiding it. That is why it is best done at a quiet time, with a backup, checking the main pages straight away.

Why does a customer see the old version of my shop when I do not?

It is usually their browser cache or a CDN such as Cloudflare. Check by opening the shop in a private window or from another device, and if it is still the same, purge the URL in the CDN or the hosting cache.