Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Page cache with dynamic plugins #6562
I'm trying to understand how django-cms handles caching because it's a little unintuitive. I want the entire page to be cached, but if I have a plugin that is dynamic based on the output, I can't actually get caching?
Why can't django-cms just load the page normally and then cache based on all the dynamic output during that load?
Instead, I have to the disable plugin cache and then the entire page never caches.
Page is loaded dynamically the first time, the second time it's cached based on the dynamic output of the last load.
Pages won't cache with a plugin that generates dynamic values. So you either have to pick the page generating the wrong values, or have no cache?
What do you mean with "a plugin that is dynamic based on the output"?
Anyway, if you specify
As far as I know, not dynamic plugin output might get cached anyway, but I'm not sure here.