UpdateDocumenThemix 4.0.12 — fixes missing design images in generated PDFs, stabilises the default template choice, removes the doubled # in invoice numbers, and cuts bulk queries… · Nov 14, 2026
UpdateAge Restriction 18+ 3.1.0 — adds the Black Friday and Christmas themes, fixes the Bubbles overlay leaving the screen, centres the Neon Bar content, makes its confirm button… · Nov 13, 2026
UpdateMy Popup 3.4.1 — coupon codes are issued reliably again, the daily limit is now 20 codes, and codes come from a secure random source · Nov 9, 2026
UpdateiConvert Promotions 9.0.16 — shows the promotions list again on PrestaShop 8.2: the reminder banner and the diagnostic line were covering the promotion rows · Nov 9, 2026
New optionQuick DeleteX 2.2.5 — a safety switch now shows what will be deleted, offers a CSV copy and asks for the shop name before anything is removed · Nov 9, 2026

PrestaShop Cache: How to Clear It When It Fails

PrestaShop Cache: How to Clear It When It Fails

Clearing the PrestaShop cache from the back office takes two clicks, and most blog posts stop there. That is why the pages ranking for "prestashop cache problem" are full of people who did exactly that and still have a broken store: the button worked, and nothing changed. This guide covers the clearing itself, then the failures — a cache that will not clear, a blank page afterwards, a cache directory that has filled the disk — with the specific reasons they happen.

What the cache actually is

PrestaShop compiles your templates and configuration into files, so a page request does not have to rebuild them. Those generated files are the cache. They live under var/cache in your installation and they are disposable — PrestaShop recreates whatever is missing.

That word, disposable, is the important one for everything below. Nothing in the cache is yours: not your products, not your orders, not your customers. Deleting it costs a little speed on the next request while templates recompile.

It also explains why clearing the cache is the first thing everybody tries when a change does not appear. It is cheap and harmless. It is simply not always the cause.

Clearing it: the three ways

From the back office

Log in and go to Advanced Parameters, then Performance. In the Smarty section, use the clear cache button. You get a confirmation when it finishes. This is the right method for everyday use, and the only one you need for a content change.

Over FTP or a file manager

This is the one to use when you cannot get into the back office at all. Go to var/cache in your PrestaShop installation and delete its contents. Leave the folder itself — PrestaShop needs it to exist.

The storefront keeps working while this happens. The first request after the deletion is slower, because the templates compile again from scratch.

On the command line

From your PrestaShop installation root:

php bin/console cache:clear

PrestaShop also ships cache:warmup, which rebuilds the cache instead of only removing it. We confirmed both commands against our own PrestaShop 8.2.4 and 9.1.1 installations on 2026-10-05, and the command is present in the PrestaShop 9 source.

Reach for cache:warmup after a large import rather than after a small edit. After a big product import the storefront has to compile a lot of templates, and warming the cache moves that cost to a time you chose rather than a request a customer is waiting on.

When clearing it does not fix the problem

This is where most guides stop and most people give up. In order, check these — the first three are outside PrestaShop entirely, which is why the back office button cannot touch them.

  1. Your browser cache. Hard-reload, or open the page in a private window. If it is right there, PrestaShop was never the problem.
  2. A caching plugin or your host's page cache. If you run a PrestaShop cache module or your host caches pages at the server level, clearing PrestaShop's cache changes nothing, because the page never reaches PrestaShop.
  3. PHP opcode cache. A compiled PHP cache held in memory can keep serving the old compiled files after you removed them from disk. Restarting PHP — or your host's equivalent — is what clears it.
  4. A module generating that content. If the page is a product page, a category or a search result, a module may be building it. Check whether the module has its own cache setting.

When clearing it makes things worse

A blank page after clearing is almost always a disk problem, and it is worth understanding rather than reacting to.

Clearing the cache does not just delete files — PrestaShop has to write new ones. On a server where the disk is nearly full, you can end up with less space than you started with. We measured our own server on 2026-10-05:

Measure Value
Size of var/cache on a PrestaShop 8.2.4 install 125 MB
Server disk 197 GB total, 178 GB used
Free space 11 GB — 95% of the disk in use

125 MB is not much on a healthy server. On a server that tight, deleting a cache and immediately regenerating it can push a filesystem into a state where PHP cannot write its compiled files, and the result is a white screen rather than a slow page.

So if clearing the cache produced a blank page: check free disk space first. If it is low, free some space, then clear again. If the space is fine, the failure is elsewhere — check the PHP error log, and check whether the cache folder is writable by the web server user.

When the cache itself is the problem

Clearing repeatedly is a signal that something upstream is wrong. A cache that grows without being trimmed usually means the store is in development mode, which keeps compiled containers and logs that a production store would not.

Two other settings are worth knowing because they change how much work the cache represents: _PS_SMARTY_CHECK_COMPILE_ controls whether templates are checked for changes, and _PS_SMARTY_FORCE_COMPILE_ forces recompilation. Both exist in the PrestaShop 9 configuration. Turning forced compilation on is a debugging tool, not a permanent setting — it costs performance on every request.

And the PHP limits on the server shape how large a cache operation can get. On our own server they are memory_limit = -1 and max_execution_time = 0, both unlimited. That is why a cache rebuild there cannot fail for running out of either — and why a shop on shared hosting, where those limits are small, can fail exactly there.

Two habits that prevent most cache problems

Check free disk space before you clear anything. It takes ten seconds and it is the difference between a fix and an outage.

Stop clearing on a schedule. PrestaShop already invalidates what needs invalidating when content changes. Clearing on a timer costs a full template rebuild on every cycle and buys nothing. If someone has a cron job clearing the cache hourly, removing it is usually a net performance win.

Everything else here comes back to one question: when your store misbehaves, which layer is actually serving the old page? Answer that first, and clearing the cache stops being a ritual and becomes a diagnosis.

Where to go next

The rest of the platform cluster:

FAQ

How do I clear the PrestaShop cache from the back office? Log in, go to Advanced Parameters then Performance, and use the clear cache button in the Smarty section. You get a confirmation once it finishes. Refresh the page you were working on to see the change.

How do I clear the cache without back office access? Over FTP or a file manager, delete the contents of the var/cache folder in your PrestaShop installation. It is rebuilt on the next request, so the storefront keeps working while it happens.

What command clears the cache on the server? php bin/console cache:clear, run from your PrestaShop installation root. PrestaShop also has cache:warmup, which rebuilds the cache rather than only removing it — useful after a large import.

Why does my PrestaShop still look unchanged after I cleared the cache? Something outside the cache is holding the old version. Check in this order: the browser's own cache, a caching plugin or your host's page cache, a PHP opcode cache, and finally whether a module is generating the content you are looking at.

I cleared the cache and now the site is blank. What happened? Usually the disk was already nearly full and the cache could not be written back. Check free disk space before clearing anything, and free space first if it is tight. On our own server the cache directory alone had reached 125 MB on a disk that was 95% full.

Does clearing the cache delete my products or customer data? No. The cache holds generated files — compiled templates and configuration — not your catalogue or your orders. Deleting it costs a moment of slowness on the next request while templates recompile, and nothing else.

How often should I clear the cache? Only when something is wrong. If you are designing or editing templates, clear it each time. Otherwise, clearing it on a schedule costs performance for no benefit, because the cache is already invalidated by PrestaShop when content changes.

Why does the cache fill the disk in the first place? In development mode the cache grows without being trimmed, because PrestaShop keeps compiled containers and logs. On our own PrestaShop 8 installation it reached 125 MB. If yours is measured in gigabytes, that is the situation to fix rather than clear repeatedly.

About this guide

Written by Frank Kenedy, who runs PrestaSOO and fixes PrestaShop stores for a living. Last updated on 2026-10-04.

How this was checked: the cache directory size, the free disk space, the PHP limits and the presence of both console commands were measured on 2026-10-05 against two PrestaShop installations on our own server — 8.2.4 and 9.1.1. The configuration constant names come from the defines.inc.php of each installation.

Not claimed: the size your own cache should be. Ours sits in development mode, which retains more than a production store would.

Was this page helpful?