Cache manager not clearing


(Keith Bartholomew) #1

I've had a repeated problem with the Cache Manager not clearing.

 

Once I've made changes to a page they don't appear on the front end. I then clear and refresh the cache in cache manager, and the changes still don't appear. 
I've checked in a private window too to ensure its not a permissions or logged in issue, but its the same result.

 

I'm using Squiz Matrix 5.1.2.1

 

Is this a problem people have encountered before, or is there any thoughts on what might be causing this?


(Nic Hubbard) #2

Are you sure that browser caching isn't coming in to play here?


(Keith Bartholomew) #3

I've tried it in a private browser, and from a separate browser, and its the same result.


(Marcus Fong) #4

It would be very unusual if the Cache Manager actually failed to clear the Matrix cache - what generally happens (excluding browser cache, which you say you’ve already ruled out) is one or both of:

  • the page is being cached by an intemediate proxy, either a forward proxy on the user’s end or a reverse proxy accelerator on the server’s end. If it’s on the server’s end, you can normally use the Clear Squid Cache Tool in Matrix to try to clear it.

  • the content in question is being cached against a different asset than the page being cleared. This is often the case when dealing with nested content, designs or paint layouts. In these cases it can often be simpler to use the /_recache suffix to refresh the Matrix cache of everything on the page.


    There can be other scenarios depending on the circumstances, but those would be the main ones. If you’re a Squiz client, you may want to log a support ticket to get the specifics of your problem checked out.

(Keith Bartholomew) #5

Thanks for your thorough answer.
The page I was having trouble with has now updated, but I will monitor this and if the problem recurs, will try what you suggested and log a support ticket if necessary.

Many thanks.


(Ryan Archer) #6

Same thing happened for me and caused quite a stir. It is a nested alert message for our website. It definitely was not a browser cache issue. We could not force clear cache, it kept showing us the alert message when it had been send to under construction and commented out. The issue finally resolved itself in about 15 min which funnily enough is the lowest interval of our cron manager. A future status was set for the nested page, requesting it go to ‘under construction’. Would this have anything to do with it?


(Marcus Fong) #7

Nested content is often harder to clear correctly, because it can easily end up being cached under an asset that isn’t the one you expect.

The surest way of clearing nested content from the Matrix cache is often to use the /_recache suffix on the frontend page URL.