Clearing cache for an individual page when using URL rewriting

  • Thread starter Robert via DotNetMonster.com
  • Start date
R

Robert via DotNetMonster.com

I'm doing URL rewriting for my web site, so there is only a single phyiscal web page (Index.aspx). All other web pages I construct dynamically. This is all working fine, but I want the ability to clear the cache for an individual page, and not for the entire site.

For example, when I do

HttpResponse.RemoveOutputCacheItem("/MySite/Index.aspx");

then the cache for the entire site is cleared.

How can I clear the cache for just one page
(e.g. Index.aspx?Page=Page1), which isn't a physical page.

Thanks.

Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top