Better handling of static files.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace VAR.Focus.Web.Code
|
||||
public void ProcessRequest(HttpContext context)
|
||||
{
|
||||
Bundler bundler = new Bundler(context.Server.MapPath("~/Scripts/"));
|
||||
bundler.PrepareCacheableResponse(context.Response);
|
||||
context.Response.PrepareCacheableResponse();
|
||||
bundler.WriteResponse(context.Response, "text/javascript");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user