How can cache for static resources like JavaScript or CSS be invalidated?

The caching of static files is controlled in the web.config file, in section staticContent. By default, the maximum caching age is 31 days. This affects both browsers and CDNs. To invalidate cache for static resources, you need a cache-busting strategy for the required types. Sitefinity has a built-in cache busting mechanism for JavaScript files that are stored in resource packages folders. However, it does not cover CSS files and also files outside of these folders.  

Related Solutions  | Sitefinity Cloud

Sitefinity Cloud


Sitefinity Cloud

Achieve operational efficiency and drive business growth.