{"id":2319,"date":"2026-11-26T09:00:00","date_gmt":"2026-11-26T08:00:00","guid":{"rendered":"https:\/\/penedesweb.cat\/redis-in-prestashop-pros-and-cons-en-tmp\/"},"modified":"2026-11-26T09:00:00","modified_gmt":"2026-11-26T08:00:00","slug":"redis-in-prestashop-pros-and-cons","status":"publish","type":"post","link":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/","title":{"rendered":"Redis in PrestaShop: pros, cons and whether it&#8217;s worth it"},"content":{"rendered":"\n<div class=\"wp-block-group pw-resum is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>In two minutes<\/strong><\/p>\n\n\n<ul class=\"wp-block-list\">\n<li>Redis is an in-memory database that PrestaShop can use as a <strong>cache<\/strong> to avoid repeating queries to MySQL.<\/li>\n\n\n<li>PrestaShop doesn&#8217;t ship with Redis: you need a third-party module or cache class. Out of the box there are only Memcache, Memcached, APC and Xcache.<\/li>\n\n\n<li><strong>Orders, carts and customers<\/strong> are always stored in MySQL. A non-persistent cache that gets emptied doesn&#8217;t lose a single order.<\/li>\n\n\n<li>The real risk isn&#8217;t losing data, it&#8217;s <strong>showing stale data<\/strong> (stock, prices) if the cache isn&#8217;t invalidated properly.<\/li>\n\n\n<li>It&#8217;s worth it for shops with large catalogues and plenty of traffic, on their own server and after measuring. In a small shop, you often won&#8217;t notice.<\/li>\n\n<\/ul>\n\n\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What Redis is and what it does in a shop<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Redis is a data store that works in RAM. Reading from and writing to it is much faster than doing so in a database like MySQL, which has to search, join tables and sometimes read from disk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a PrestaShop shop, Redis doesn&#8217;t replace MySQL. It acts as a <strong>cache<\/strong>: when PrestaShop runs a read query (the products in a category, a product&#8217;s features, the configuration), it stores the result in Redis. The next time it needs the same thing, it reads it from Redis and skips the query.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea is simple. What makes it work or fail are the details: what gets stored, when it gets deleted and what happens when Redis isn&#8217;t there.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How PrestaShop&#8217;s cache works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To understand the benefits and the risks, you need to know how PrestaShop does it. We checked it in the core code (the <code>Cache<\/code> class and the <code>Db<\/code> database layer):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It&#8217;s configured under <strong>Advanced Parameters \u2192 Performance<\/strong>. The systems built into the core are Memcache, Memcached, APC and Xcache. Redis is added with a third-party module or class that uses this same mechanism.<\/li>\n\n\n<li>What gets stored is mainly the <strong>results of read SQL queries<\/strong>. Each query is identified by a hash of its SQL text.<\/li>\n\n\n<li>PrestaShop keeps track of which queries depend on each table. When something is written to a table (an <code>INSERT<\/code>, <code>UPDATE<\/code> or <code>DELETE<\/code> that goes through the <code>Db<\/code> layer), <strong>all<\/strong> the cached queries that use it are deleted.<\/li>\n\n\n<li>There&#8217;s a list of <strong>excluded tables<\/strong> that never go into the cache: among others, the cart tables (<code>cart<\/code>, <code>cart_product<\/code>, <code>cart_cart_rule<\/code>), customers and their groups, guests, back-office employees, connections and the log.<\/li>\n\n\n<li>A maximum of 10,000 queries are stored per table. When the limit is reached, PrestaShop discards the least used ones.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This design explains almost everything that follows: why orders aren&#8217;t at risk, why the cache delivers less than you&#8217;d expect in a shop with lots of sales, and where it can fail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Less load on MySQL.<\/strong> Repeated queries (menus, categories, attributes, configuration) stop reaching the database. At times of heavy traffic, it&#8217;s the difference between a calm database and a saturated one.<\/li>\n\n\n<li><strong>Pages that are generated faster<\/strong>, especially category and product pages in large catalogues with many combinations, features and specific prices.<\/li>\n\n\n<li><strong>Faster than the built-in alternatives.<\/strong> File cache uses the disk; APCu lives inside PHP and is emptied every time PHP-FPM restarts. Redis is a separate service, shared by all of the shop&#8217;s PHP processes.<\/li>\n\n\n<li><strong>Handles peaks better.<\/strong> Sales, Black Friday, an email campaign: if reads come from memory, the server has more headroom to handle purchases.<\/li>\n\n\n<li><strong>It can be monitored.<\/strong> Redis tells you how many reads find what they&#8217;re looking for and how many don&#8217;t, how much memory it uses and whether it has had to discard data. That lets you know whether it really helps.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Drawbacks and risks<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>One more service to maintain.<\/strong> It has to be installed, secured, its memory monitored and kept up to date. On shared hosting, it often isn&#8217;t even possible.<\/li>\n\n\n<li><strong>It depends on a third-party module.<\/strong> Since the core doesn&#8217;t include Redis, the module&#8217;s quality matters: how it invalidates, what it does if Redis doesn&#8217;t respond and whether it&#8217;s compatible with your PrestaShop version.<\/li>\n\n\n<li><strong>Stale data if something writes from outside.<\/strong> Invalidation only works when the write goes through PrestaShop&#8217;s <code>Db<\/code> layer. If an ERP, an import script or an external process updates stock or prices directly in MySQL, PrestaShop doesn&#8217;t notice and may keep showing the cached data.<\/li>\n\n\n<li><strong>Invalidation works per whole table.<\/strong> Every time an order is created or stock changes, all the cached queries for the affected tables are deleted. In a shop with lots of sales or constant syncs, the cache is emptied so often that the gain shrinks considerably.<\/li>\n\n\n<li><strong>Problems that are hard to diagnose.<\/strong> &#8220;I see one price and the customer sees another&#8221; is the typical error of a badly invalidated cache. You need to know where to look.<\/li>\n\n\n<li><strong>Badly sized memory can do more harm than good.<\/strong> If Redis runs out of memory and starts discarding data, it may discard the record that links a table to its queries and leave alive queries that will no longer be deleted when they should be.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Non-persistent cache: what happens if Redis restarts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Redis can work in two ways: periodically saving its contents to disk (persistence, with RDB snapshots or the AOF log) or in memory only. For a cache, the usual recommendation is <strong>not to make it persistent<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If Redis restarts (an update, a server reboot, an outage), a non-persistent cache starts empty. What this means in practice:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>No shop data is lost.<\/strong> Everything in Redis is a copy of something that&#8217;s already in MySQL.<\/li>\n\n\n<li>For a few minutes, the shop runs as if it had no cache: <strong>slower<\/strong> and with more load on the database, until the most visited pages fill it up again.<\/li>\n\n\n<li>If the restart coincides with a traffic peak, this cold start is more noticeable. It&#8217;s a reason to schedule restarts at quiet times.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Making it persistent has more drawbacks than benefits: writing to disk uses resources and, when the copy is restored, you may load results that no longer match the database if someone has written to it in the meantime. For a cache, starting empty is the safest option.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What about customer orders?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s the key question, and the answer is reassuring: <strong>a Redis cache doesn&#8217;t put orders at risk<\/strong>, as long as it&#8217;s only used as a cache.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Orders are stored in MySQL<\/strong>, in the order, order line and history tables. Redis is never their source.<\/li>\n\n\n<li><strong>The cart doesn&#8217;t depend on Redis either.<\/strong> The customer is identified by an encrypted PrestaShop cookie that contains, among other things, their cart number; the cart&#8217;s contents are in the database. On top of that, the cart and customer tables are on the list of tables excluded from the cache.<\/li>\n\n\n<li>If Redis goes down completely, a good module should keep working against MySQL. Test it before going live: stop Redis in the staging environment and place a complete order.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Where you do need to be careful is with the data the checkout reads that isn&#8217;t on the exclusion list, above all <strong>stock<\/strong> and <strong>prices<\/strong>. If they&#8217;re updated in a way that doesn&#8217;t invalidate the cache, a product page may show an item as available when it has already sold out. In shops synced with an ERP or marketplaces, it&#8217;s the first thing to check.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What about sessions?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Redis can also be used to store PHP sessions. Here you need to be careful: if sessions are in a non-persistent instance, a Redis restart deletes them all. In the shop, the cart shouldn&#8217;t be lost, because it depends on the cookie and the database; but back-office employees may have to log in again and, if any modules store information in the PHP session, they&#8217;ll lose it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to store sessions in Redis, good practice is to do it in an instance or database separate from the cache, with persistence and without Redis being able to discard them when memory runs short.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to configure it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A Redis cache configuration for PrestaShop, on your own server, has these key points:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>What<\/th><th>How<\/th><th>Why<\/th><\/tr><\/thead><tbody><tr><td><strong>Persistence<\/strong><\/td><td><code>save \"\"<\/code> and <code>appendonly no<\/code><\/td><td>It&#8217;s a cache: better to start empty than load stale data.<\/td><\/tr><tr><td><strong>Maximum memory<\/strong><\/td><td><code>maxmemory<\/code> sized for the shop<\/td><td>So it doesn&#8217;t eat into MySQL&#8217;s or PHP&#8217;s memory.<\/td><\/tr><tr><td><strong>Eviction policy<\/strong><\/td><td><code>allkeys-lru<\/code>, with enough headroom that it never has to kick in<\/td><td>If it fills up, discard the least used; and make sure it doesn&#8217;t happen.<\/td><\/tr><tr><td><strong>Access<\/strong><\/td><td>Unix socket or <code>127.0.0.1<\/code>, with a password or ACL<\/td><td>Redis must never be reachable from the internet.<\/td><\/tr><tr><td><strong>Separation<\/strong><\/td><td>One database or instance per shop<\/td><td>So that clearing one shop&#8217;s cache doesn&#8217;t clear another&#8217;s.<\/td><\/tr><tr><td><strong>Flushing<\/strong><\/td><td>After every update or bulk import<\/td><td>Avoids serving results calculated with older data or code.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Separation matters when several websites share the same server. When PrestaShop enables or clears the cache, it clears all of it; if several shops share the same Redis database, one can leave the other without a cache.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to tell whether it&#8217;s worth it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before installing anything, measure. And afterwards, measure again. These are the indicators to look at:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Server response time<\/strong> (TTFB) of the pages that matter: home page, large categories, product pages and checkout, before and after.<\/li>\n\n\n<li><strong>Slow queries<\/strong> in the MySQL log. If the problem is a badly indexed query, Redis hides it but doesn&#8217;t fix it.<\/li>\n\n\n<li><strong>Redis hits and misses<\/strong> (<code>keyspace_hits<\/code> and <code>keyspace_misses<\/code> in <code>redis-cli info stats<\/code>). If most reads find nothing, the cache isn&#8217;t doing its job.<\/li>\n\n\n<li><strong>Evicted keys<\/strong> (<code>evicted_keys<\/code>). If it isn&#8217;t zero, memory is short.<\/li>\n\n\n<li><strong>Load tests<\/strong> in the staging environment, simulating the traffic of a busy day.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">When it&#8217;s worth it and when it isn&#8217;t<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Usually worth it<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Large catalogues, with many combinations, features, specific prices or several languages and shops.<\/li>\n\n\n<li>Shops with plenty of traffic or predictable peaks (campaigns, seasons).<\/li>\n\n\n<li>When the database is already the bottleneck and the queries are well optimised.<\/li>\n\n\n<li>When the shop is on its own server and someone keeps an eye on it.<\/li>\n\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Often unnoticeable, or not worth it<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Small shops with few products and few visits: MySQL already has everything in memory and the difference is minimal.<\/li>\n\n\n<li>Shops where stock or prices are changed directly in the database from outside and invalidation can&#8217;t be guaranteed.<\/li>\n\n\n<li>Shops with syncs so frequent that the cache is constantly being emptied.<\/li>\n\n\n<li>When the speed problem is something else: heavy images, too many modules, a slow theme or an underpowered server.<\/li>\n\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Redis speeds up what already works well. If a shop is slow because of a bad query or a heavy module, fix that first.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Before Redis, check this<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In many slow shops, the first gain doesn&#8217;t come from Redis but from more basic things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>OPcache<\/strong> enabled and properly sized in PHP.<\/li>\n\n\n<li><strong>Smarty cache<\/strong> enabled and CSS and JavaScript files combined, from the same Performance page.<\/li>\n\n\n<li>The <strong>database<\/strong> properly configured, with the indexes it needs and without statistics and connection tables growing out of control.<\/li>\n\n\n<li>A review of the <strong>modules<\/strong>: which are used, which run queries on every page and which can be removed.<\/li>\n\n\n<li>A modern version of <strong>PHP<\/strong> and PrestaShop.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">In short<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Redis is a good tool for large PrestaShop shops with traffic, on a server that can be configured. As a non-persistent cache, it doesn&#8217;t put orders or carts at risk: all of that is in MySQL, and the worst that happens if it restarts is a short spell of slowness. What you need to watch is stale data, above all stock and prices when there are integrations, and available memory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is it worth it? It depends on the shop, and the honest way to find out is to measure before and after. If you have a PrestaShop shop and want to know whether it would benefit, <a href=\"\/en\/prestashop-online-stores\/\">see how we build shops<\/a>, <a href=\"\/en\/hosting\/\">how we configure servers<\/a> or <a href=\"\/en\/contact\/\">tell us about your case<\/a>.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Redis can make a PrestaShop shop faster, but not always and not just any way. We explain how PrestaShop&#8217;s cache works, what happens with a non-persistent cache, whether customer orders are at risk and when it&#8217;s worth it.<\/p>\n","protected":false},"author":1,"featured_media":2325,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-2319","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-prestashop-stores"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Redis in PrestaShop: benefits, risks and is it worth it | Pened\u00e8s Web<\/title>\n<meta name=\"description\" content=\"Redis as a PrestaShop cache: how it works, what happens if it isn&#039;t persistent, whether it affects orders and carts, how to configure it and when it&#039;s worth it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Redis in PrestaShop: benefits, risks and is it worth it | Pened\u00e8s Web\" \/>\n<meta property=\"og:description\" content=\"Redis as a PrestaShop cache: how it works, what happens if it isn&#039;t persistent, whether it affects orders and carts, how to configure it and when it&#039;s worth it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/\" \/>\n<meta property=\"og:site_name\" content=\"Pened\u00e8s Web\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-26T08:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/penedesweb.cat\/wp-content\/uploads\/2026\/11\/blog-redis-prestashop-en.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Equip de Pened\u00e8s Web\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Equip de Pened\u00e8s Web\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/\"},\"author\":{\"name\":\"Equip de Pened\u00e8s Web\",\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/#\\\/schema\\\/person\\\/cdd678118bb0b65ce39703b53efc8af6\"},\"headline\":\"Redis in PrestaShop: pros, cons and whether it&#8217;s worth it\",\"datePublished\":\"2026-11-26T08:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/\"},\"wordCount\":1989,\"image\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/penedesweb.cat\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/blog-redis-prestashop-en.webp\",\"articleSection\":[\"PrestaShop\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/\",\"name\":\"Redis in PrestaShop: benefits, risks and is it worth it | Pened\u00e8s Web\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/penedesweb.cat\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/blog-redis-prestashop-en.webp\",\"datePublished\":\"2026-11-26T08:00:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/#\\\/schema\\\/person\\\/cdd678118bb0b65ce39703b53efc8af6\"},\"description\":\"Redis as a PrestaShop cache: how it works, what happens if it isn't persistent, whether it affects orders and carts, how to configure it and when it's worth it.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/#primaryimage\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/blog-redis-prestashop-en.webp\",\"contentUrl\":\"https:\\\/\\\/penedesweb.cat\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/blog-redis-prestashop-en.webp\",\"width\":1600,\"height\":900,\"caption\":\"Illustration with the word Redis on a dark background\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/redis-in-prestashop-pros-and-cons\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Redis in PrestaShop: pros, cons and whether it&#8217;s worth it\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/\",\"name\":\"Pened\u00e8s Web\",\"description\":\"Webs, botigues online i servidors a mida\",\"alternateName\":\"penedesweb.cat\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\",\"publisher\":{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/#organization\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/#\\\/schema\\\/person\\\/cdd678118bb0b65ce39703b53efc8af6\",\"name\":\"Equip de Pened\u00e8s Web\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5fc3720492a87c5f657e69cbf636b4373c7a8fa009c911f4954d7a1e2f9d2570?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5fc3720492a87c5f657e69cbf636b4373c7a8fa009c911f4954d7a1e2f9d2570?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5fc3720492a87c5f657e69cbf636b4373c7a8fa009c911f4954d7a1e2f9d2570?s=96&d=mm&r=g\",\"caption\":\"Equip de Pened\u00e8s Web\"},\"description\":\"Equip de desenvolupament i sistemes de Pened\u00e8s Web, a Vilafranca del Pened\u00e8s.\",\"sameAs\":[\"https:\\\/\\\/penedesweb.cat\"]},{\"@id\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/#organization\",\"@type\":[\"Organization\",\"ProfessionalService\"],\"name\":\"Pened\u00e8s Web\",\"legalName\":\"Repro-\u00c0bac SL\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/\",\"slogan\":\"From code to server, with our own team\",\"description\":\"Web development agency in Vilafranca del Pened\u00e8s (Barcelona) specialising in custom WordPress websites, high-performance PrestaShop stores with our own modules and integrations, and managed hosting on Cloud Data Center servers.\",\"email\":\"hola@penedesweb.cat\",\"telephone\":\"+34938900777\",\"foundingDate\":\"2008\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"Carrer de Tossa de Mar, 16\",\"postalCode\":\"08720\",\"addressLocality\":\"Vilafranca del Pened\u00e8s\",\"addressRegion\":\"Barcelona\",\"addressCountry\":\"ES\"},\"areaServed\":[{\"@type\":\"AdministrativeArea\",\"name\":\"Catalonia\"},{\"@type\":\"Country\",\"name\":\"Spain\"}],\"knowsLanguage\":[\"ca\",\"es\",\"en\"],\"knowsAbout\":[\"WordPress\",\"Elementor\",\"PrestaShop\",\"M\u00f2duls PrestaShop a mida\",\"Integraci\u00f3 amb ERP\",\"A3ERP\",\"Marketplaces\",\"Hostify\",\"Icnea\",\"AvaiBook\",\"SEO\",\"GEO\",\"Administraci\u00f3 de servidors\",\"AlmaLinux\",\"Plesk\",\"MariaDB\",\"Seguretat web\"],\"hasOfferCatalog\":{\"@type\":\"OfferCatalog\",\"name\":\"Services\",\"itemListElement\":[{\"@type\":\"Offer\",\"itemOffered\":{\"@type\":\"Service\",\"name\":\"Corporate web design and development with WordPress and Elementor\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/corporate-web-design\\\/\"}},{\"@type\":\"Offer\",\"itemOffered\":{\"@type\":\"Service\",\"name\":\"PrestaShop online stores and custom modules\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/prestashop-online-stores\\\/\"}},{\"@type\":\"Offer\",\"itemOffered\":{\"@type\":\"Service\",\"name\":\"Websites for tourist accommodation and holiday rentals\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/holiday-rental-websites\\\/\"}},{\"@type\":\"Offer\",\"itemOffered\":{\"@type\":\"Service\",\"name\":\"SEO and GEO\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/seo-geo\\\/\"}},{\"@type\":\"Offer\",\"itemOffered\":{\"@type\":\"Service\",\"name\":\"Managed hosting, maintenance and security\",\"url\":\"https:\\\/\\\/penedesweb.cat\\\/en\\\/hosting\\\/\"}}]}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Redis in PrestaShop: benefits, risks and is it worth it | Pened\u00e8s Web","description":"Redis as a PrestaShop cache: how it works, what happens if it isn't persistent, whether it affects orders and carts, how to configure it and when it's worth it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/","og_locale":"en_US","og_type":"article","og_title":"Redis in PrestaShop: benefits, risks and is it worth it | Pened\u00e8s Web","og_description":"Redis as a PrestaShop cache: how it works, what happens if it isn't persistent, whether it affects orders and carts, how to configure it and when it's worth it.","og_url":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/","og_site_name":"Pened\u00e8s Web","article_published_time":"2026-11-26T08:00:00+00:00","og_image":[{"width":1600,"height":900,"url":"https:\/\/penedesweb.cat\/wp-content\/uploads\/2026\/11\/blog-redis-prestashop-en.webp","type":"image\/webp"}],"author":"Equip de Pened\u00e8s Web","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Equip de Pened\u00e8s Web","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/#article","isPartOf":{"@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/"},"author":{"name":"Equip de Pened\u00e8s Web","@id":"https:\/\/penedesweb.cat\/en\/#\/schema\/person\/cdd678118bb0b65ce39703b53efc8af6"},"headline":"Redis in PrestaShop: pros, cons and whether it&#8217;s worth it","datePublished":"2026-11-26T08:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/"},"wordCount":1989,"image":{"@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/#primaryimage"},"thumbnailUrl":"https:\/\/penedesweb.cat\/wp-content\/uploads\/2026\/11\/blog-redis-prestashop-en.webp","articleSection":["PrestaShop"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/","url":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/","name":"Redis in PrestaShop: benefits, risks and is it worth it | Pened\u00e8s Web","isPartOf":{"@id":"https:\/\/penedesweb.cat\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/#primaryimage"},"image":{"@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/#primaryimage"},"thumbnailUrl":"https:\/\/penedesweb.cat\/wp-content\/uploads\/2026\/11\/blog-redis-prestashop-en.webp","datePublished":"2026-11-26T08:00:00+00:00","author":{"@id":"https:\/\/penedesweb.cat\/en\/#\/schema\/person\/cdd678118bb0b65ce39703b53efc8af6"},"description":"Redis as a PrestaShop cache: how it works, what happens if it isn't persistent, whether it affects orders and carts, how to configure it and when it's worth it.","breadcrumb":{"@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/#primaryimage","url":"https:\/\/penedesweb.cat\/wp-content\/uploads\/2026\/11\/blog-redis-prestashop-en.webp","contentUrl":"https:\/\/penedesweb.cat\/wp-content\/uploads\/2026\/11\/blog-redis-prestashop-en.webp","width":1600,"height":900,"caption":"Illustration with the word Redis on a dark background"},{"@type":"BreadcrumbList","@id":"https:\/\/penedesweb.cat\/en\/redis-in-prestashop-pros-and-cons\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/penedesweb.cat\/en\/"},{"@type":"ListItem","position":2,"name":"Redis in PrestaShop: pros, cons and whether it&#8217;s worth it"}]},{"@type":"WebSite","@id":"https:\/\/penedesweb.cat\/en\/#website","url":"https:\/\/penedesweb.cat\/en\/","name":"Pened\u00e8s Web","description":"Webs, botigues online i servidors a mida","alternateName":"penedesweb.cat","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/penedesweb.cat\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en","publisher":{"@id":"https:\/\/penedesweb.cat\/en\/#organization"}},{"@type":"Person","@id":"https:\/\/penedesweb.cat\/en\/#\/schema\/person\/cdd678118bb0b65ce39703b53efc8af6","name":"Equip de Pened\u00e8s Web","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5fc3720492a87c5f657e69cbf636b4373c7a8fa009c911f4954d7a1e2f9d2570?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5fc3720492a87c5f657e69cbf636b4373c7a8fa009c911f4954d7a1e2f9d2570?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5fc3720492a87c5f657e69cbf636b4373c7a8fa009c911f4954d7a1e2f9d2570?s=96&d=mm&r=g","caption":"Equip de Pened\u00e8s Web"},"description":"Equip de desenvolupament i sistemes de Pened\u00e8s Web, a Vilafranca del Pened\u00e8s.","sameAs":["https:\/\/penedesweb.cat"]},{"@id":"https:\/\/penedesweb.cat\/en\/#organization","@type":["Organization","ProfessionalService"],"name":"Pened\u00e8s Web","legalName":"Repro-\u00c0bac SL","url":"https:\/\/penedesweb.cat\/en\/","slogan":"From code to server, with our own team","description":"Web development agency in Vilafranca del Pened\u00e8s (Barcelona) specialising in custom WordPress websites, high-performance PrestaShop stores with our own modules and integrations, and managed hosting on Cloud Data Center servers.","email":"hola@penedesweb.cat","telephone":"+34938900777","foundingDate":"2008","address":{"@type":"PostalAddress","streetAddress":"Carrer de Tossa de Mar, 16","postalCode":"08720","addressLocality":"Vilafranca del Pened\u00e8s","addressRegion":"Barcelona","addressCountry":"ES"},"areaServed":[{"@type":"AdministrativeArea","name":"Catalonia"},{"@type":"Country","name":"Spain"}],"knowsLanguage":["ca","es","en"],"knowsAbout":["WordPress","Elementor","PrestaShop","M\u00f2duls PrestaShop a mida","Integraci\u00f3 amb ERP","A3ERP","Marketplaces","Hostify","Icnea","AvaiBook","SEO","GEO","Administraci\u00f3 de servidors","AlmaLinux","Plesk","MariaDB","Seguretat web"],"hasOfferCatalog":{"@type":"OfferCatalog","name":"Services","itemListElement":[{"@type":"Offer","itemOffered":{"@type":"Service","name":"Corporate web design and development with WordPress and Elementor","url":"https:\/\/penedesweb.cat\/en\/corporate-web-design\/"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"PrestaShop online stores and custom modules","url":"https:\/\/penedesweb.cat\/en\/prestashop-online-stores\/"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"Websites for tourist accommodation and holiday rentals","url":"https:\/\/penedesweb.cat\/en\/holiday-rental-websites\/"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"SEO and GEO","url":"https:\/\/penedesweb.cat\/en\/seo-geo\/"}},{"@type":"Offer","itemOffered":{"@type":"Service","name":"Managed hosting, maintenance and security","url":"https:\/\/penedesweb.cat\/en\/hosting\/"}}]}}]}},"_links":{"self":[{"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/posts\/2319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/comments?post=2319"}],"version-history":[{"count":2,"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/posts\/2319\/revisions"}],"predecessor-version":[{"id":2324,"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/posts\/2319\/revisions\/2324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/media\/2325"}],"wp:attachment":[{"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/media?parent=2319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/categories?post=2319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/penedesweb.cat\/en\/wp-json\/wp\/v2\/tags?post=2319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}