Dear JS-Support,
We have checked CSHTML5 produced site by F12 : Chrome Developer mode: Audits function, the result:
(see attached picture)
the caching is not optimal:
- CSHTML5_CacheProblem.JPG (97.81 KiB) Viewed 5816 times
Leverage browser caching (26)
-Some resources are
missing a cache expiration. Resources that do not specify an expiration may not be cached by browsers, like:
fastclick.js
getStackTrace.js
velocity.js
-The following
resources are explicitly non-cacheable. Consider making them cacheable if possible:
(small note: I'm sure that you do it because of development progress / changing betas probably.)
JSIL.js
Polyfills.js
mersenne.js
JSIL.Core.js
JSIL.Host.js
JSIL.Browser.js
JSIL.Browser.Audio.js
JSIL.Browser.Loaders.js
JSIL.Browser.Touch.js
JSIL.Core.Types.js
JSIL.Core.Reflection.js
JSIL.References.js
JSIL.Unsafe.js
JSIL.PInvoke.js
JSIL.Bootstrap.js
JSIL.Bootstrap.Int64.js
JSIL.Bootstrap.DateTime.js
JSIL.Bootstrap.Text.js
JSIL.Bootstrap.Resources.js
JSIL.Bootstrap.Linq.js
JSIL.Bootstrap.Async.js
index.manifest.js
So is there a support from CSHTML5 to controll it
without manual edit of cache headers ?
I'm sure with a small efforts from your side should be possible to control the cache headers from the developer point of view.
E.g. to
add some UI or dedicated XML config files to control the standard used / "framework like" *.js files cache headers.
What do you think ?
Or can you recommend any other existing 3rd party solution to do that ?
Best Regards,
Thanks for your kind reply in advance,
Péter