Bypass Cache with Cookie after page has been cached
-
Hi,
I am trying to achieve the following:
- Page is cached dynamically with cookie ‘XXX’ not present.
- Visitor arrives at cached page.
- Visitor completes form and cookie ‘XXX’ is added.
- Visitor is redirected to another page.
- Visitor returns to original page.
- Visitor views non-cached page.
I have tried using
add_filter( ‘sgo_bypass_cookies’, ‘add_sgo_bypass_cookies’);
but it seems this will only stop the page being cached if the cookie is present. I need it to effectively bypass the cache if the page is already cached and the cookie is present.
I hope this makes sense, any help is appreciated.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Bypass Cache with Cookie after page has been cached’ is closed to new replies.