docs icon indicating copy to clipboard operation
docs copied to clipboard

Guidelines configuration for CDN or other cache services

Open ToBe998 opened this issue 9 years ago • 2 comments

Since caching is more and more moved towards external systems like varnish or even better a full cdn system, we should provide some very generic guidelines on how to configure caching. Specifically, what urls not to cache as they are dynamic or user specific and sensitive.

Some things i think that fall in this category are the following urls:

  • /bolt - Never cache as it is sensitive and user specific with login
  • /preview - Dynamicylly generated from editor and user specific with login others?

If i can get a full list, I could write a page on this topic, at least for 2.2.

ToBe998 avatar Apr 20 '16 15:04 ToBe998

In no uncertain terms this is about to change in v3.0 with the updates to Bolt Filesystem, I would coordinate with @CarsonF on this for that reason :wink:

GwendolenLynch avatar Apr 20 '16 16:04 GwendolenLynch

We now have 3.3 and it would still be a very usefull information. Can we get on this again?

Afaik the folders to exclude from CDN's are:

  • /bolt
  • /async

Any others?

ToBe998 avatar Nov 08 '17 17:11 ToBe998