btcpayserver/BTCPayServer/Hosting
Dennis Reimann 8420c74b31
Improve static asset caching
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/))

Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
..
BTCpayMiddleware.cs Fixing api exception handling in the pipeline 2020-02-03 02:18:36 -06:00
BTCPayServerServices.cs Implement Http Tor proxy as a internal http proxy 2020-04-09 17:38:55 +09:00
HeadersOverrideMiddleware.cs Skip HeadersOverrideMiddleware if on onion 2019-10-10 14:10:01 +09:00
ResourceBundleProvider.cs Cleanup netcore21 specific code 2020-01-12 13:30:54 +09:00
Startup.cs Improve static asset caching 2020-04-18 17:56:05 +02:00