btcpayserver/BTCPayServer/Views
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
..
Account Improve static asset caching 2020-04-18 17:56:05 +02:00
Apps Improve static asset caching 2020-04-18 17:56:05 +02:00
AppsPublic Improve static asset caching 2020-04-18 17:56:05 +02:00
Error Improve static asset caching 2020-04-18 17:56:05 +02:00
Home Improve static asset caching 2020-04-18 17:56:05 +02:00
Invoice Improve static asset caching 2020-04-18 17:56:05 +02:00
Manage Improve static asset caching 2020-04-18 17:56:05 +02:00
MoneroLikeStore fix broken links 2020-01-14 12:46:07 +01:00
PaymentRequest Improve static asset caching 2020-04-18 17:56:05 +02:00
Public remove paybuttontest 2018-09-08 14:53:41 +09:00
PublicLightningNodeInfo Improve static asset caching 2020-04-18 17:56:05 +02:00
Server Improve static asset caching 2020-04-18 17:56:05 +02:00
Shared Improve static asset caching 2020-04-18 17:56:05 +02:00
Stores Improve static asset caching 2020-04-18 17:56:05 +02:00
UserStores Use grid consistently 2019-11-14 18:42:49 +01:00
Wallets Improve static asset caching 2020-04-18 17:56:05 +02:00
_ViewImports.cshtml Remove reliance on ambient routing values 2019-10-23 13:52:22 +09:00
_ViewStart.cshtml Init 2017-09-13 15:55:16 +09:00
ViewsRazor.cs fix file timezone and isDownload for local files temp urls (#837) 2019-05-15 22:02:03 +09:00