Hi guys!
I use COutputCache in Filters to cache the whole page, a page showing a list of items. But there is a search feature in the same action. In the action, the search form is passed through GET, and here is the problem, for every search combination, there is a corresponding cache, and the number of combination is tremendous。I wonder if there is a way, the COutputCache will turn off caching the page with some particular GET param, but still cache the file if the GET param name is another one.
For example:
cache the page: localhost/controller/action?GET_1=2
while don’t cache the page: localhost/controller/action?GET_2=2