I would like to put Varnish as a corporate website built with Django to improve its performance. On each page of the site there is a small contact form. In addition, the site is mostly static. The problem is that I cannot figure out how to combine varnish with Djangos Csrf protection. I believe that the same question applies to any full-text caching with Django csrf protection.
I suppose disabling csrf middleware is not allowed?
Matti
source share