Jump to content

Needing to F5 / reload / refresh each page of admin/backoffice to see changes


Recommended Posts

Hey there,

 

fresh new install of ps 1.5.4 and very basic config.

 

PHP Version 5.3.3-7+squeeze15

 

Everything's fine in front end.

 

On the back end / back office / Admin,

 

every change made to a product, or manipulating product (cloning, adding etc) are note reflected on display.

 

When clicking "save" for example, the page reload but the page displayed don't reflect the change.

But if i hit F5 to force page reload, everything is fine. I got to do this on every page.

 

I've obviously disabled every single cache setting.

 

Is there a dedicated cache for admin ?

 

would you have some direction to point me to ?

 

Thank you very much

Philippe.

Link to comment
Share on other sites

Not sure if this is your issue but I had a similar issue but only when running admin functions in chrome or firefox. I did NOT see the same behavior in IE8. My fix was an error in my .htaccess file. I had an expires directive (in red below) that was catching everything. I deleted it and all was good.

 

 

<IfModule mod_expires.c>

# Enable expirations

ExpiresActive On

 

# Default directive

ExpiresDefault "access plus 1 month"

  • Like 1
Link to comment
Share on other sites

I had the same problem with my installation - PS is not working well with it's default expires directives use those I'll paste here and you'll have no problem:

 

(notice also that if your customer logs in FO and then refresh the page (like klik on logo or product image) PS will serve the old version (so he/she will see he/she is not logged) thus effectively loosing you money.

 

Disable 'optimise apache' delete the junk from your actual .htaccess and paste this after the 'keeping' line so it won't be overwritten if you make changes in SEO URLs, etc:

 

# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0

# Set up caching on media files for 1 year (forever?)
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
ExpiresDefault A29030400
Header append Cache-Control "public"
</FilesMatch>

# Set up caching on media files for 1 week
<FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
ExpiresDefault A604800
Header append Cache-Control "public"
</FilesMatch>

# Set up 2 Hour caching on commonly updated files
<FilesMatch "\.(xml|txt|html|js|css)$">
ExpiresDefault A604800
Header append Cache-Control "proxy-revalidate"
</FilesMatch>

# Force no caching for dynamic files
<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>

Edited by the.rampage.rado (see edit history)
  • Like 2
Link to comment
Share on other sites

Thank you guys for pointing me in the right direction.

@The.Rampage : these directives cause a 500 error.

 

I'll check this with my host, I guess my pb has something to do with the setup (I run on a dedicated server)

 

I'll get back here as soon as the pb is fixed.

 

Cheers !

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...
  • 11 months later...

i have 1.6.1.3 and i have got same problem. after the save button the page is not completing the job. Need to refresh the page. on chrome 500 error. any solution for this please?

to disable mod_security on your apache server‏ is solving this problem or?
Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...