Jump to content

Backoffice pages don't refresh after any modification

Recommended Posts

Hi there,

we are working on PS 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.



Link to comment
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




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

Link to comment
Share on other sites

  • 5 months later...

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 (see edit history)
  • Like 1
Link to comment
Share on other sites

  • Create New...