MaxCDN Support: Tutorial
Preventing Caching for Specific Paths
Updated
November 13, 2015
Important note
The EdgeRules feature is available only on Enterprise plans.
The following example shows how to prevent caching for particular paths. Any other request would be seamlessly honored and cached.
Nginx configuration block
location / { set $nocache "0"; if ($request_uri ~ \/(scripts|includes)\/.*$) { set $nocache "1"; } … proxy_no_cache $nocache; … }