i output cached my .aspx page for a long period of time, now i want to change some markup on the page, how can i make it invalidate its cache(make it refresh it self)?
serkan sendur
821
Postaholic
Banned
Recommended Answers
Jump to PostHttpResponse.RemoveOutputCacheItem("pathtoyourfile");
Jump to PostWell you will need something like:
HttpResponse.RemoveOutputCacheItem(Server.MapPath("/directory") & "file.aspx"); or just HttpResponse.RemoveOutputCacheItem("/directory/file.aspx");
Not entirely sure, haven't used it in a while. Looong time.
Should work.. It's in C# for you too :)
All 6 Replies
SheSaidImaPregy
28
Veteran Poster
serkan sendur
821
Postaholic
Banned
SheSaidImaPregy
28
Veteran Poster
serkan sendur
821
Postaholic
Banned
SheSaidImaPregy
28
Veteran Poster
SheSaidImaPregy
28
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.