This question is locked. New answers and comments are not allowed.
Hi,
I've tried using your script manager, and the compression and minification works well. However, the cache duration doesn't appear to be set.
In the View, I'm using:
<% Html.Telerik().StyleSheetRegistrar()
.DefaultGroup(group => group.CacheDurationInDays(7)
.Add("style.css")
)
.Render(); %>
In Global, I've set:
WebAssetDefaultSettings.CacheDurationInDays = 30;
But Firebug/YSlow consistently reports the output of the asset.axd call to be without expires headers, and shows:
Cache-Control
Any ideas? Is it an issue in the CTP, or am I doing something wrong?
Thanks,
Simon
I've tried using your script manager, and the compression and minification works well. However, the cache duration doesn't appear to be set.
In the View, I'm using:
<% Html.Telerik().StyleSheetRegistrar()
.DefaultGroup(group => group.CacheDurationInDays(7)
.Add("style.css")
)
.Render(); %>
In Global, I've set:
WebAssetDefaultSettings.CacheDurationInDays = 30;
But Firebug/YSlow consistently reports the output of the asset.axd call to be without expires headers, and shows:
Cache-Control
max-age=0Any ideas? Is it an issue in the CTP, or am I doing something wrong?
Thanks,
Simon