Jump to content
alinam

Backoffice pages don't refresh after any modification

Recommended Posts

Hi there,

we are working on PS 1.6.0.6 and in BO the pages do not refresh after modifying data. I need to manually refresh to see any changes made. 

I searched for similar topics to find a solution but didn't found any.

 

 

Share this post


Link to post
Share on other sites

Hi,

 

can you  tell us if you have any cache enabled?

 

back office-->advanced parameters-->performance

 

scroll to bottom, Caching

Share this post


Link to post
Share on other sites

We used Cache (Memcahe) but then disable it. It's disabled for the last week. The refresh is still not working.

Share this post


Link to post
Share on other sites

maybe varnish cache is on in your hosting, here is a tip on how you can determine if varnish is enabled

 

http://drupal.stackexchange.com/questions/80771/how-to-determine-if-varnish-pressflow-is-caching-content-in-a-useful-way

 

note:  you can also ask your hosting company if varnish cache (or other cache  type) is being used in your hosting...

Share this post


Link to post
Share on other sites

Thank you El Patron! I have checked and no Varnish!  see here

 

I searched  forge, forum net...sorry I can not be more help.

Share this post


Link to post
Share on other sites

In classes/controller/AdminController.php

add (about line 1523) headers :

	public function initHeader()
	{
		header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
		header('Pragma: no-cache');
		header('Expires: Sat, 26 Jul 1997 05:00:00 GMT');
		// Multishop
		$is_multishop = Shop::isFeatureActive();

                .....
Clear your browser cache after mod (ctrl + f5) Edited by Eolia
  • Like 1

Share this post


Link to post
Share on other sites

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More