Hi, I'm having issues getting OutputCache to work with the remoteDatasource dropdown demo. Whenever I run through Fiddler, I get this message "HTTP/1.1 Vary Header is present: *
*: The server MUST be contacted to verify the freshness of this resource."
I can put the outputcache on actions not called through the kendo datasource and they are cached as exptected. Any ideas?
http://demos.telerik.com/aspnet-mvc/dropdownlist/remotedatasource
*: The server MUST be contacted to verify the freshness of this resource."
I can put the outputcache on actions not called through the kendo datasource and they are cached as exptected. Any ideas?
http://demos.telerik.com/aspnet-mvc/dropdownlist/remotedatasource
@(Html.Kendo().DropDownListFor(m => m.PasswordExpireOptionSelectedID)
.DataTextField("Text")
.DataValueField("Value")
.DataSource(source =>
{
source.Read(read =>
{
read.Action(ListController.ActionGetPasswordExpireOptions, ListController.ControllerName);
});
})
)
.DataTextField("Text")
.DataValueField("Value")
.DataSource(source =>
{
source.Read(read =>
{
read.Action(ListController.ActionGetPasswordExpireOptions, ListController.ControllerName);
});
})
)
// Action snippet
private const int CacheDurationDefault = 86400;
public JsonResult GetPasswordExpireOptions()
{
// some code here....
return Json(returnValue, JsonRequestBehavior.AllowGet);
}
private const int CacheDurationDefault = 86400;
public JsonResult GetPasswordExpireOptions()
{
// some code here....
return Json(returnValue, JsonRequestBehavior.AllowGet);
}