Table of contents of the article:
In the world of modern e-commerce, where performance and loading speed directly impact conversions, bounce rates and SEO positioning, the lack of native advanced caching features is a handicap that cannot be underestimated. In this context, PrestaShop, despite being one of the most popular and potentially promising platforms for e-commerce, continues to drag behind it a chronic shortcoming: the lack of native support for Varnish Cache.
A Note on Varnish Cache
A Note on Varnish Cache
Varnish Cache is one of the most powerful and widespread HTTP reverse proxies in the world, designed to dramatically speed up the delivery of web content. It is designed for high-traffic scenarios and is used by some of the largest internet portals to reduce the load on application servers, serving cached pages directly from RAM in a few milliseconds. Its main strength is the ability to manage the Full Page Cache (FPC), or the complete cache of the HTML page, avoiding going through the PHP engine or the database every time.
Thanks to the VCL (Varnish Configuration Language), Varnish allows extreme customization of caching rules, allowing you to define intelligent behaviors for the inclusion or exclusion of certain resources. It is particularly effective when properly integrated with applications that support specific HTTP headers for cache control, selective invalidation of content and advanced session management.
In the e-commerce context, Varnish is often the only choice for those who want to scale without compromising performance. Magento 2 integrates it natively, WooCommerce can be easily adapted, while PrestaShop – inexplicably – continues to ignore its existence in its core. A choice that, as we will see, has serious consequences for those who manage online stores with significant traffic volumes.
The competitive context: Shopify, Magento 2, WooCommerce
To understand how serious and limiting the lack of native support for Varnish in PrestaShop is, it is essential to understand the competitive context in which it is inserted. The e-commerce market today is extremely mature and aggressive, with solutions ranging from all-in-one SaaS platforms to advanced and well-optimized open source CMS. And in this race for performance, PrestaShop still starts with the handbrake on.
Shopify , despite being a closed and fully managed platform, represents a benchmark in terms of user experience and performance. It leverages a global infrastructure network powered by Cloudflare, ensuring that every asset, every page, every interaction is delivered as efficiently as possible. The CDN reverse proxy works in harmony with a highly optimized backend and a centralized, invisible caching system, eliminating any configuration. The page cache is intelligently updated based on content and changes made by the administrator, and the infrastructure absorbs extremely high traffic loads without any noticeable impact. It's a black box, yes, but a fast, stable black box suited to modern commerce. With just a few clicks, even a novice can have an e-commerce site that responds in less than 500 ms anywhere in the world.
Magento 2 , for its part, is the opposite of Shopify: an open-source platform designed for complex and scalable architectures, which makes modularity and customization its strengths. But here, unlike PrestaShop, native support for Varnish Cache has been considered fundamental since version 2.0. The administration interface allows you to enable Full Page Cache with Varnish without having to resort to third-party plugins or hacks. All the necessary headers are generated by the core, and cache tag management allows for selective and instant invalidation of content. Furthermore, Magento can be configured in high-availability environments, clustered with Varnish and Redis, to seamlessly handle promotional events, seasonal peaks, or flash sales. Essentially, the Magento–Varnish combination is an industrial choice for those seeking reliability and performance at scale.
WooCommerce , while not natively integrated with Varnish, benefits from a WordPress ecosystem so mature and rich in high-performance solutions that it still manages to position itself well. Plugins like Proxy Cache Purge, CLP Varnish Cache , Nginx Helper , and entire optimized stacks like those offered by Servebolt , Kinsta , Presslabs , Cloudways, or our own at Managed Server Srl, make implementing advanced caching systems relatively simple. Some providers like ours include Varnish directly in the hosting plan, with preconfigured rules that automatically exclude dynamic areas like the cart, checkout, or user area. Furthermore, support for Edge Side Includes (ESI) , via advanced plugins, allows for granular management of dynamic content blocks even in an aggressive caching environment. While WooCommerce wasn't designed for enterprise use, the ecosystem does everything it can to fill the gap—often with surprising results.
PrestaShop , on the other hand, not only offers none of this natively, but also seems to systematically ignore the needs of advanced server-side caching. In a scenario where competitors – some by architecture, some by ecosystem, some by strategy – have understood that HTTP caching is one of the key elements for scalability and user experience , PrestaShop remains anchored to an obsolete model, delegating everything to the Smarty cache or superficial solutions, unsuitable for modern traffic.
In a landscape where speed and resilience have become crucial parameters when choosing an e-commerce platform, PrestaShop risks being increasingly perceived as a solution that's only valid up to a certain point . And that point, unfortunately, is reached much sooner than expected without a robust caching system like Varnish.
PrestaShop 8: missed opportunity
The announcement of PrestaShop 8 had generated a fair amount of anticipation in the open source e-commerce scene. After years in which version 1.7 had shown all its limitations in terms of architecture, maintenance and compatibility with modern web standards, the arrival of branch 8 seemed to represent a turning point. The promises were all there: a more modular structure, a codebase more oriented towards PSR standards, a more maintainable backend and a more up-to-date technological stack. Many – developers, agencies and system integrators – also expected the introduction of a serious native caching system, or at least a clear opening towards consolidated solutions such as Varnish Cache.
Yet, once again, none of this has materialized. In 2025, PrestaShop continues to completely ignore the issue of HTTP Full Page Cache . No substantial new features have been introduced in the core to facilitate Varnish integration, nor has an official module developed or directly supported by the team been released. And it's not just the absence of the module itself, but a complete lack of architectural vision : there is no dedicated technical documentation, no official best practices, no concrete integration examples, and not even an effort to make PrestaShop more Varnish-friendly.
Anyone who wants to integrate Varnish must resign themselves to a complex process, relying on third-party modules of dubious quality, often abandoned or incompatible with the latest versions of the platform. Alternatively, they'll need to resort to hand-crafted configurations based on custom VCLs, cookie filtering, custom HTTP headers, and a thorough understanding of PrestaShop's internals. Even in these cases, however, the result is fragile: the lack of a cache tagging system, the inability to selectively invalidate the cache, and the issuing of cookies even to anonymous visitors make integration a real obstacle course.
It's as if the PrestaShop team continues to treat caching as an "extra," something that can be left to the goodwill of the community or delegated to the infrastructure without considering its strategic impact. But this view is shortsighted. The lack of an official compatibility layer with Varnish or other reverse proxies is no longer a simple functional deficiency: it's a factor that excludes anyone who wants to build a truly scalable and competitive e-commerce site, capable of handling hundreds of requests per second with stable performance.
Version 8, with all its potential, represented the perfect time to fill this gap. But instead of seizing the opportunity, the decision was made to continue on a conservative path, limiting itself to small technical improvements that failed to address the core issue: the need for an intelligent and natively integrated caching system.
A real wasted opportunity, which today weighs like a millstone on all PrestaShop installations that must support significant loads, and which forces merchants and sysadmins to use custom, expensive, fragile and often unsustainable solutions in the long term.
The technical problems
The integration between Varnish and PrestaShop is anything but trivial. The main issues are focused on:
- User sessions and cookies: PrestaShop tends to generate cookies aggressively, even for anonymous users, making it difficult to cache pages.
- Dynamic content: elements such as cart, favorites, login, wishlist, show personalized data and require caching exclusion strategies or the use of ESI (Edge Side Includes), which are not natively supported.
- Complicated Routing: the lack of “clean” and predictable URLs for some dynamic sections complicates writing effective VCL rules.
All of these issues are technically surmountable, but require advanced system skills and a deep understanding of the PrestaShop infrastructure, discouraging many merchants from attempting any form of advanced optimization.
The performance paradox
The situation is paradoxical: PrestaShop, if properly configured and without heavy plugins, is objectively faster than Magento 2 (in its basic configuration) and more efficient than WooCommerce. Its architecture is less complex, and response times in LAMP or LEMP environments are generally excellent. However, as traffic increases, the lack of an efficient Full Page Cache like Varnish becomes an inevitable bottleneck.
This means that for e-commerce sites with significant traffic, PrestaShop needs more resources to maintain acceptable performance than a solution using Varnish, which could instead serve static pages in a few milliseconds, without even involving PHP or MySQL.
In other words, the problem isn't average performance, but scalability . And without Varnish (or an equivalent), PrestaShop's scalability remains limited or heavily dependent on custom solutions.
Possible solutions, all insufficient
Some agencies and professionals have tried to fill the gap by offering paid modules or ad hoc implementations. Some examples include:
- Modules that “clean” cookies for guest users, enabling Varnish caching
- Integrations with reverse proxy caches like NGINX Microcache or Redis
- Headless or hybrid architectures with separate front-ends
But all these solutions are workarounds, not official answers. They lack reference technical specifications , well-designed cache invalidation mechanisms , and above all, the PrestaShop team's willingness to address the problem at the core level.
A neglected responsibility
Varnish is not a whim of geeks. It is a consolidated technology, adopted in the largest e-commerce in the world. To expect a modern platform like PrestaShop, in 2025, to still ignore the problem is incomprehensible. Especially if you consider that a few precautions would be enough:
- An official module maintained by the core team
- A standard invalidation tag or header cache system
- A cache-aware backend with Varnish-specific outputs
- A documented integration with real and tested examples
Instead, we continue to invest in social modules, marginal backoffice improvements and graphic restyling, neglecting the most critical infrastructural aspect for the success of a modern e-commerce.
Conclusions (polemical but constructive)
PrestaShop today finds itself in an ambiguous position, halfway between two worlds: too advanced to be considered an “entry-level” platform, but at the same time too lacking in some fundamental infrastructural aspects to be able to seriously compete with the most modern and high-performance enterprise solutions. It is a solid, flexible platform with an intuitive backend, but its architecture suffers when it comes to scalability and advanced performance optimization.
The lack of native support for Varnish Cache is a difficult strategic choice to justify , especially in a context where competitors—both in the SaaS world and among open source CMS—have long understood the importance of Full Page Cache (FPC) as a key element for the sustainable growth of an e-commerce site. Savvy merchants, and the specialized agencies that support them, understand the importance of speed and efficiency in serving content: which is why they are increasingly turning to solutions with native and well-integrated FPC , capable of elegantly handling large volumes of traffic.
It's hoped that the PrestaShop core team will finally acknowledge this structural shortcoming and prioritize it in the project's roadmap. There's no need to completely overhaul the entire platform: a well-designed official module, a reverse proxy-compatible abstraction layer like Varnish, and clear and up-to-date technical documentation would suffice. With a few concrete steps, PrestaShop could fill a gap that currently severely penalizes its performance.
Meanwhile, those who have chosen PrestaShop for high-traffic projects know well that achieving acceptable performance requires the intervention of expert system engineers, specialized DevOps, and a significant amount of infrastructure customization. These solutions, while effective, shouldn't be the only option.
At Managed Server SRL, we've developed custom modules and specific optimizations that allow for the integration of Varnish Cache on PrestaShop , offering tailored hosting plans for high-traffic e-commerce sites that require real, measurable, and scalable performance. If you're considering a quality leap for your PrestaShop store and want to finally leverage the power of Full Page Cache, contact us : we'll guide you in choosing the ideal architecture, with concrete, field-tested solutions.
Because in the world of modern e-commerce, where every second of loading time impacts sales and user experience, broken promises are not forgotten: they are paid for, and dearly.