coderedcorp/wagtail-cache

does wagtail-cache cache Django views?

Closed this issue · 3 comments

does wagtail-cache cache Django views?
As we are seeing Django form views being cached in the Wagtail admin/settings/cache page and was not expecting
this?

The middleware potentially caches ALL requests/responses of the site. You can set it up to only cache specific views, or ignore specific views. We have detailed documentation on how this works, and how it can be configured: https://docs.coderedcorp.com/wagtail-cache/getting_started/cache_control.html

thanks
does it cache formviews with csrf tokens and if so how can all formviews be excluded from caching
thanks

It handles CSRF tokens properly. Please read the documentation which answers your question in detail.