feincms/feincms — Issue #228: Per-site caching does not work well together with google analytics
Author: bmihelac
Created: 2011-11-28 11:42:20+00:00
State: open

Google analytics scripts adds ``__utmb`` cookie that is updated on every page refresh.

[``fe_render``](https://github.com/feincms/feincms/blob/master/feincms/models.py#L512) touches session forcing session middleware to add ``Vary: Cookie`` header to every response.

That means that per-site caching does not work with FeinCMS if google analytics is also installed.

Reference:

https://code.djangoproject.com/ticket/6552

p.s. I am not yet 100% sure everything I wrote, I am still narrowing list