XF 2.2 Excluding specific sections from Redis cache

RobMacKay

Member
Hi all

Just wondering if there are any cool lines of code I can wrap other code I don't want cached in. I have a Sidebar that is using a custom PHP file to do some calculations - and we need this to update so we can see the new calculations, but it seems the cache is doing it's job too well :-)

Thanks very much
 
That's not really how Redis works. Are you sure you're not using something else, like an expires header, or cloudflare, etc?
thanks for the reply, sorry for the slow response.

we are using Cloudflare on our root domain, the forums are in a folder - called forums... We have set up rules to exclude... (I have now just explored our Cloudflare rules to double-check what I was saying was correct - and it seems it is not and could well be Cloudflare :-))

I'll get back to you on this to confirm either way - but thanks for the nudge!
 
Top Bottom