Jump to content

[SOLVED] Page Caches for Several Minutes Regardless of PW Cache Settings?


Recommended Posts

Posted

I wondered if anyone has seen this and maybe has a fix?

After editing Page templates are saved but code updates do not update the rendered immediately, even with a hard refresh of the page (shift+refresh). It seems to cache the page for a few mins (3-4) regardless of PW / MAMP cache settings. This applies to rendered HTML, rendered PHP variables and site_debug errors.

I'm experiencing the same thing on Google Chrome Firefox.

PW 3.0.184

Anyone else seen this and / or found a fix?

  • Like 1
  • prestoav changed the title to Page Caches for Several Minutes Regardless of PW Cache Settings?
Posted

If you are using MAMP make sure you have disabled any cache module from the PHP Language settings on MAMP, sometimes that messes with what you are doing

Also how are you setting up the cache expire time?

  • Like 1
Posted
2 minutes ago, Laikmosh said:

If you are using MAMP make sure you have disabled any cache module from the PHP Language settings on MAMP, sometimes that messes with what you are doing

Also how are you setting up the cache expire time?

Hi @Laikmosh,

I think I have disabled all caching modules in PHP, certainly socache and file_cache_module. 

In terms of the cache expiry time, I'm not sure to be honest. If you have any ideas where that might be hiding I'd greatly appreciate it!

  • prestoav changed the title to [SOLVED] Page Caches for Several Minutes Regardless of PW Cache Settings?
Posted

OK, I found the problem. OPCache was enabled in the new version of MAMP Pro. Just turned it off and everything refreshes as it should.

Hope that helps someone!

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...