Commit Graph

6 Commits

Author SHA1 Message Date
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
rockstardev
0578a692db Updating bundler to new version that will also support .NET Core 2.2 2019-03-23 19:10:16 -05:00
lepipele
dfa3167c18 Removing generated bundles from source control 2018-02-27 17:03:45 +09:00
lepipele
c52926f2b0 Using min versions of JS and CSS files 2018-02-27 17:03:37 +09:00
lepipele
b6138b36be Restoring Unobtrusive Jquery validation 2018-02-27 17:03:29 +09:00
NicolasDorier
b5c6ed3860 Init 2017-09-13 15:55:16 +09:00