Jump to content

Pages get cached and require F5 to show latest content


Recommended Posts

Hello, I have just installed prestashop 1.6.0.9 to test it out. My server is on host gator for the demo.

 

I've noticed that pages, some in the front office and most noticably on the admin side, get cached and require me to hit F5 to get the latest content.

 

For example, I create an item and write the description(1). Then if I go do something else and come back to the item to change the description(2) and add a price, the description goes back to description(1) all of a sudden. I have narrowed this down to caching because if I refresh the page manually (F5), this does not happen. Caching and optimization is turned off in the admin > performance page and this happens in Chrome and Firefox... any thoughts?

Link to comment
Share on other sites

Contacted my host and they had to add in the following to an .htaccess file in a parent directory:

 

<FilesMatch "\.(php|cgi|pl|htm)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>

Link to comment
Share on other sites

×
×
  • Create New...