J
Jeremy S
How can I force a page to retrieve a fresh/new copy of a css file from the
Web server on *every* page request... GET and PostBacks?
I have tried this, but it seems to have no effect:
<%@ OutputCache Location="none" %>
Here is my situation:
Using ASP.NET 3.5, Web application, IE 7.0:
I have a basic master page implementation. In one of the content pages I
enable the user to save changes to classes in a css file. That content page
contains a link to the css file, like this:
<link href="../CustomClasses.css" type="text/css" rel="stylesheet" />
When the user saves changes to that css file via the aspx content page, I
would like for the page to retrieve a fresh copy of the newly-updated css
file and have those changes immediately reflected in the page.
One thought is to put this: <%@ OutputCache Location="none" %>
into the master page in addition to the content page, but the page will not
build, with a warning stating that the OutputCache Location directive is not
supported [in master pages].
Thoughts?
Thanks!
Web server on *every* page request... GET and PostBacks?
I have tried this, but it seems to have no effect:
<%@ OutputCache Location="none" %>
Here is my situation:
Using ASP.NET 3.5, Web application, IE 7.0:
I have a basic master page implementation. In one of the content pages I
enable the user to save changes to classes in a css file. That content page
contains a link to the css file, like this:
<link href="../CustomClasses.css" type="text/css" rel="stylesheet" />
When the user saves changes to that css file via the aspx content page, I
would like for the page to retrieve a fresh copy of the newly-updated css
file and have those changes immediately reflected in the page.
One thought is to put this: <%@ OutputCache Location="none" %>
into the master page in addition to the content page, but the page will not
build, with a warning stating that the OutputCache Location directive is not
supported [in master pages].
Thoughts?
Thanks!