I've been trying to find docs on this but I can't find a way to disable caching on a individual browserview. How can I disable all caching on a single browserview? Does there exist a decorator like how you cache memoize but opposite?
Here is the walk through of my issue:
User lands on browserview.
It checks if they are proxied through our secure server?
If no, redirect them to the proxy login.
After logging in, it redirects them back to the browserview they were trying to access.
Endless loop happens back and forth.
Looking at the network, it appears the web browser remember the original page was a 302 redirect and just executes it again. I'm 99% sure it is the cache because you can clear the cache and then land on the page with no problem.
We are using Plone 5 and Varnish 4. We need heavy caching on our site because it has 90,000 dexterity objects.
Now you can use the caching control panel to assign the "no caching" operation to this ruleset (Or do that using registry.xml in your GenericSetup profile).
I tried both but it is always overridden. I think is the dexterity type this browserview is on has ModerateCaching set and is overriding it. I can confirm it in the network and when I switch "Content Items" to no-caching everything works.
Is there a way to have one dexterity type cache differently? I don't want to turn no-caching on Content Items in the caching panel because that will have major impacts.