mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
8420c74b31
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`. |
||
---|---|---|
.. | ||
AccessDenied.cshtml | ||
ConfirmEmail.cshtml | ||
ForgotPassword.cshtml | ||
ForgotPasswordConfirmation.cshtml | ||
Lockout.cshtml | ||
Login.cshtml | ||
LoginWith2fa.cshtml | ||
LoginWithRecoveryCode.cshtml | ||
LoginWithU2F.cshtml | ||
Register.cshtml | ||
ResetPassword.cshtml | ||
ResetPasswordConfirmation.cshtml | ||
SecondaryLogin.cshtml | ||
SignedOut.cshtml |