Posted on: 2/29/2012 6:15:35 AM | Views : 955

Hi all
Summary:
I don't have any problems with URLrewriting I don't have any problems caching pages I need to remove URLrewritten pages from the cache I am using URLRewriting, and the OutPutCache declaration at the top of my pages:
<%@ OutputCache Duration="86400" VaryByParam="none" VaryByCustom="URL" %> Because I use URLRewriting I have to vary the cache based on the URL, using the following function in my global.asax:
Public Overrides Function GetVaryByCustomString(ByVal context As HttpContext, ByVal arg As String) As String Return "URL=" & HttpContext.Current.Request.RawUrl End Function As the cache only updates every 24hrs, I need the ability to remove certain pages from the cache manually. I have tried the following:
HttpResponse.RemoveOutputCacheItem("myurl/myre ...

Go to the complete details ...