How to clear the ache of a single specific page?

mkaaaay

Well-Known Member
#1
We have the issue where by the "vary" cookie based cached file on the home page remains cached in the non logged in version, once a person has logged in.

Every other page shows the person as being logged in, but the index page continues to show the non-logged in version.

This only happens when we do a redirect post login, to the home page. If we send them to another page, and then they visit the home page, all is well.

So, I'm wondering how we can maybe just clear the home page cache upon login, and keep te rest cached as normal?

Or, is there an issue in using code such as <code>parent.location.href = '/';</code> as it seems to not give the browser a chance to change caches or something.

Does this make sense?
 
Top