Kunstmaan/KunstmaanNodeBundle — pull request #39 by SpoBo (2013-02-20 14:47:28+00:00)
Title: Disable caching on preview URLs

This doesn't work though when LiipCacheControl is enabled.

Should we defined behavior to override LiipCacheControl? For now it just tells the Symfony HTTP caching system we don't want any caching. But LiipCacheControl overrides the default system when it's defined in the global project.

So it's important to define a /preview/ rule in the app/config/config.yml.

For example:
```
liip_cache_control:
rules:
- { path: /admin, controls: { private: true }, vary: [Accept-Encoding] }
- { path: /preview/, controls: { private: true }, vary: [Accept-Encoding] }
- { path: ^/, controls: { public: true, max_age: 120, s_maxage: 240 }, vary: [Accept-Encoding] }
```