{"id":1627,"date":"2014-06-25T07:41:14","date_gmt":"2014-06-25T05:41:14","guid":{"rendered":"http:\/\/joapen.com\/blog\/?p=1627"},"modified":"2021-05-04T16:34:42","modified_gmt":"2021-05-04T14:34:42","slug":"prestashop-cache-disable-it","status":"publish","type":"post","link":"http:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/","title":{"rendered":"Prestashop cache, disable it!"},"content":{"rendered":"<p>This is the summary, I had to disable the cache from Prestashop.<\/p>\n<p>The cache mechanism from Prestashop is a different thing from the CDN. To avoid confusion, I have activated a CDN and this works fine delivering the static content of the store (images, js, css, etc).<\/p>\n<p>The\u00a0 issue is the internal cache system from Prestashop.<\/p>\n<p>I though that the use of this cache was something good, it should be beneficial, isn&#8217;t it? In my case, it is not the case.<\/p>\n<p>This cache system uses a lot of resources (mainly CPU) to generate and update the cache. When you disable it, every single request is done through the PHP web server and the database, but the CPU and memory used is less in the majority of the scenarios than having the cache activated.<\/p>\n<p><a href=\"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1629\" src=\"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg\" alt=\"CPU_memory_comparative_prestashop\" width=\"867\" height=\"393\" srcset=\"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg 867w, http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop-300x135.jpg 300w, http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop-500x226.jpg 500w\" sizes=\"auto, (max-width: 867px) 100vw, 867px\" \/><\/a>Other important thing is to disable the modules that you really do not use. I read that in a blog and I thought &#8220;this is so basic suggestion!!&#8221; but 5 minutes later I had disabled 6 modules.<\/p>\n<p>This is being a hard job to enable and disable modules, test the environment and track the time response, but at this stage I have not other option \ud83d\ude41<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the summary, I had to disable the cache from Prestashop. The cache mechanism from Prestashop is a different thing from the CDN. To avoid confusion, I have activated a CDN and this works fine delivering the static content of the store (images, js, css, etc). The\u00a0 issue is the internal cache system from &#8230; <a title=\"Prestashop cache, disable it!\" class=\"read-more\" href=\"http:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/\" aria-label=\"Read more about Prestashop cache, disable it!\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,51],"tags":[],"class_list":["post-1627","post","type-post","status-publish","format-standard","hentry","category-digital-marketing","category-prestashop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Prestashop cache, disable it! -<\/title>\n<meta name=\"description\" content=\"This is the summary, I had to disable the cache from Prestashop. The cache mechanism from Prestashop is a different thing from the CDN. To avoid - joapen projects\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Prestashop cache, disable it! -\" \/>\n<meta property=\"og:description\" content=\"This is the summary, I had to disable the cache from Prestashop. The cache mechanism from Prestashop is a different thing from the CDN. To avoid - joapen projects\" \/>\n<meta property=\"og:url\" content=\"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/\" \/>\n<meta property=\"og:site_name\" content=\"joapen projects\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-25T05:41:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-04T14:34:42+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg\" \/>\n<meta name=\"author\" content=\"joapen\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"joapen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/\"},\"author\":{\"name\":\"joapen\",\"@id\":\"http:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\"},\"headline\":\"Prestashop cache, disable it!\",\"datePublished\":\"2014-06-25T05:41:14+00:00\",\"dateModified\":\"2021-05-04T14:34:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/\"},\"wordCount\":202,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\"},\"image\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/CPU_memory_comparative_prestashop.jpg\",\"articleSection\":[\"Digital Marketing\",\"Prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/\",\"url\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/\",\"name\":\"Prestashop cache, disable it! -\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/joapen.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/CPU_memory_comparative_prestashop.jpg\",\"datePublished\":\"2014-06-25T05:41:14+00:00\",\"dateModified\":\"2021-05-04T14:34:42+00:00\",\"description\":\"This is the summary, I had to disable the cache from Prestashop. The cache mechanism from Prestashop is a different thing from the CDN. To avoid - joapen projects\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#primaryimage\",\"url\":\"http:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/CPU_memory_comparative_prestashop.jpg\",\"contentUrl\":\"http:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/CPU_memory_comparative_prestashop.jpg\",\"width\":867,\"height\":393},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/2014\\\/06\\\/25\\\/prestashop-cache-disable-it\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/joapen.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prestashop cache, disable it!\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/joapen.com\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/joapen.com\\\/blog\\\/\",\"name\":\"joapen projects\",\"description\":\"Just a place to write\",\"publisher\":{\"@id\":\"http:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/joapen.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\\\/\\\/joapen.com\\\/blog\\\/#\\\/schema\\\/person\\\/23919df2312175fe9c4609203595b217\",\"name\":\"joapen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\",\"url\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\",\"contentUrl\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\",\"width\":400,\"height\":400,\"caption\":\"joapen\"},\"logo\":{\"@id\":\"https:\\\/\\\/joapen.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/joapen-mini.jpeg\"},\"sameAs\":[\"http:\\\/\\\/www.joapen.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Prestashop cache, disable it! -","description":"This is the summary, I had to disable the cache from Prestashop. The cache mechanism from Prestashop is a different thing from the CDN. To avoid - joapen projects","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:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/","og_locale":"en_US","og_type":"article","og_title":"Prestashop cache, disable it! -","og_description":"This is the summary, I had to disable the cache from Prestashop. The cache mechanism from Prestashop is a different thing from the CDN. To avoid - joapen projects","og_url":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/","og_site_name":"joapen projects","article_published_time":"2014-06-25T05:41:14+00:00","article_modified_time":"2021-05-04T14:34:42+00:00","og_image":[{"url":"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg","type":"","width":"","height":""}],"author":"joapen","twitter_misc":{"Written by":"joapen","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#article","isPartOf":{"@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/"},"author":{"name":"joapen","@id":"http:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217"},"headline":"Prestashop cache, disable it!","datePublished":"2014-06-25T05:41:14+00:00","dateModified":"2021-05-04T14:34:42+00:00","mainEntityOfPage":{"@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/"},"wordCount":202,"commentCount":0,"publisher":{"@id":"http:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217"},"image":{"@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#primaryimage"},"thumbnailUrl":"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg","articleSection":["Digital Marketing","Prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/","url":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/","name":"Prestashop cache, disable it! -","isPartOf":{"@id":"http:\/\/joapen.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#primaryimage"},"image":{"@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#primaryimage"},"thumbnailUrl":"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg","datePublished":"2014-06-25T05:41:14+00:00","dateModified":"2021-05-04T14:34:42+00:00","description":"This is the summary, I had to disable the cache from Prestashop. The cache mechanism from Prestashop is a different thing from the CDN. To avoid - joapen projects","breadcrumb":{"@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#primaryimage","url":"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg","contentUrl":"http:\/\/joapen.com\/blog\/wp-content\/uploads\/2014\/06\/CPU_memory_comparative_prestashop.jpg","width":867,"height":393},{"@type":"BreadcrumbList","@id":"https:\/\/joapen.com\/blog\/2014\/06\/25\/prestashop-cache-disable-it\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/joapen.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Prestashop cache, disable it!"}]},{"@type":"WebSite","@id":"http:\/\/joapen.com\/blog\/#website","url":"http:\/\/joapen.com\/blog\/","name":"joapen projects","description":"Just a place to write","publisher":{"@id":"http:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/joapen.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"http:\/\/joapen.com\/blog\/#\/schema\/person\/23919df2312175fe9c4609203595b217","name":"joapen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg","url":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg","contentUrl":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg","width":400,"height":400,"caption":"joapen"},"logo":{"@id":"https:\/\/joapen.com\/blog\/wp-content\/uploads\/2021\/04\/joapen-mini.jpeg"},"sameAs":["http:\/\/www.joapen.com"]}]}},"_links":{"self":[{"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts\/1627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/comments?post=1627"}],"version-history":[{"count":3,"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts\/1627\/revisions"}],"predecessor-version":[{"id":1631,"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/posts\/1627\/revisions\/1631"}],"wp:attachment":[{"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/media?parent=1627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/categories?post=1627"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/joapen.com\/blog\/wp-json\/wp\/v2\/tags?post=1627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}