I am a bit puzzled by this one and not sure if it is the correct behaviour.
I am using apache solr search and it is returning the results as nids which are then used to filter a view so giving search results in a table. This is of course slows down the return of search results. I am using authcache primarily to speed up this search system and it was working great on older versions (1.4). I changed to 2.0 for other reasons and since then the caching of search results doesn't seem to work for logged in users.
The issue I am seeing is that for anonymous users the search results are being cached. So once the cache is warmed for any particular search the results are returned very quickly.
For logged in users, in the autcache debug message for the search results page I get:
Cache Status: "Caching CANCELLED"
Reason: "Redirecting to http://sitename.com/search/site/searchterm"
If i reload the search results page caching occurs and the page is returned lightning fast. if I repeat the search by submitting the search term again I get the above message and the page age is shown as a couple of seconds.
The fact that the search results page can be cached by reloading says to me the issue is with the redirect but why only with logged in users?
Loving the module in general because it transforms the usability of my Drupal sites.
|PASSED: [[SimpleTest]]: [MySQL] 3,557 pass(es). |
[ View ]