The CacheControl plugin adds cache-control header values to user defined routes, to improve end user page loading.
CacheControl is configures with appsettings.json file, add a new section called CacheControlRoute. Contains the following properties
The plugin is disabled and no caching headers will be added.
Number of minutes for the browser to cache the document. If the value is < 1 the cache header will be set to no-cache which prevents caching.
String array of routes to cache, i.e. /js/ or /css/
There was an error while loading. Please reload this page.