eZ Community » Forums » General » Caching of content/search
expandshrink

Caching of content/search

Caching of content/search

Thursday 17 June 2010 10:03:44 am - 1 reply

I know this problem has been mentioned before, but I can't seem to find a solution anywhere..

The problem is quite similar to this http://share.ez.no/forums/developer/search-cache-problem

The problem is that when i search something (using ezfind btw) I get correct results, but when i try to chenge the search to something else I get the same results as before, so is seems like the result of a search is cached..

How can this be?

And how ca this be fixed?

Thanks

Thursday 17 June 2010 1:59:13 pm

There are no caching of search content by default other then Solr cache for ezfind, but I don't think that is what you have issues with.

Typical mistakes would be:

  • Aggressive proxy cache, they shouldn't normally cache POST requests, and I presume you use post.
  • A aggressive cache-block added inside search result template
  • A cache-block in pagelayout that either have been closed after $module_result.content by mistake or not closed at all making it cache the rest of the file including $module_result.content

Anything that fits?

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from