I'm trying to use the SPUtility.MakeBrowserSafeCacheSafeLayoutsUrl() method to generate my css url for my masterpage to get over caching. So i have a css file stored at
in my masterpage i have the following line to include the css file
<link rel="stylesheet" type="text/css" href="<%=Microsoft.SharePoint.Utilities.SPUtility.MakeBrowserCacheSafeLayoutsUrl("MyFolder/css/MyFile.css", false)%>" />
If i go to a page using this masterpage and view the html source i see something along the lines of
<link rel="stylesheet" type="text/css" href="/_layouts/MyFolder/css/MyFile.css?rev=MyItUeAdCJlTghtxaFP3Fg%3D%3D" />
which is fine, but when i change the 'MyFile.css' (open it up in notepad in the 14 hive and change some of the styles) and save it and refresh the page the url stays the same, which doesn't seem right to me. I'm expecting the querystring value to change
because the file has been updated?
Am I doing something wrong or am i missing anything?
Thanks in advance.
View Complete Post