btcpayserver/BTCPayServer/Views/Error
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
..
_LayoutError.cshtml Improve static asset caching 2020-04-18 17:56:05 +02:00
_ViewStart.cshtml Adding prettier error handling page in the pipeline 2020-02-01 01:40:50 -06:00
404.cshtml Improve static asset caching 2020-04-18 17:56:05 +02:00
429.cshtml Improve static asset caching 2020-04-18 17:56:05 +02:00
500.cshtml Improve static asset caching 2020-04-18 17:56:05 +02:00
Handle.cshtml Special page to handle 429 errors 2020-02-01 01:59:56 -06:00