J
Jonathan Wood
I've seen a lot of people bit by caching besides myself. It seems rather
difficult to have much caching in a dynamic site, without it causing
problems.
At any rate, I have a page that lists items from the database. It's the main
page of my site so I added the following line:
<%@ OutputCache Duration="60" VaryByParam="*" %>
In most cases, this appears to work just fine. However, there is a search
box on this page and it doesn't work because when the user clicks Go, the
postback is not processed if the page is being cached.
Is there any way around this without having to remove caching for this page?
Thanks.
Jonathan
difficult to have much caching in a dynamic site, without it causing
problems.
At any rate, I have a page that lists items from the database. It's the main
page of my site so I added the following line:
<%@ OutputCache Duration="60" VaryByParam="*" %>
In most cases, this appears to work just fine. However, there is a search
box on this page and it doesn't work because when the user clicks Go, the
postback is not processed if the page is being cached.
Is there any way around this without having to remove caching for this page?
Thanks.
Jonathan