This website requires JavaScript.
Explore
RingTools-web
Help
Sign in
mirrors
/
btcpayserver
Watch
1
Star
0
Fork
You've already forked btcpayserver
0
mirror of
https://github.com/btcpayserver/btcpayserver.git
synced
2025-02-23 22:46:49 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
63e11451ba
btcpayserver
/
BTCPayServer
/
Views
/
Shared
/
_ValidationScriptsPartial.cshtml
2 lines
89 B
Text
Raw
Normal View
History
Unescape
Escape
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
<bundle name="wwwroot/bundles/jqueryvalidate-bundle.min.js" asp-append-version="true" />
Reference in a new issue
Copy permalink