Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
I have a PHP include which shows a cookie acceptance bar on all site pages if the 'acceptcookies' cookie is set. But it doesn't work because the page is cached, including the cookie PHP include.

Can I tell Couch Cache to not cache a specific include, and instead leave that PHP code _as_ an include in the final file?

Or will I need to show/hide the cookie acceptance stuff using JS?
Caching, I am afraid, is not granular (i.e. only the entire page can be cached).
I think using JS would be the perfect alternative in this use-case.
OK thank you.
3 posts Page 1 of 1