예제 #1
0
        public ActionResult Manifest()
        {
            Response.ContentType     = "text/cache-manifest";
            Response.ContentEncoding = System.Text.Encoding.UTF8;
            Response.Cache.SetCacheability(
                System.Web.HttpCacheability.NoCache);

            Response <ManifestModel> response = cacheRepository.GetFilesToCache();

            return(PartialView("Manifest", response.DataItems));
        }