When faceted search is enabled, users may navigate from results page to results page while changing filters from the guided search block.

At this moment there is no caching method for search results, being part of the reasons the fact that Sphinx is really fast resolving search queries (often just a few milliseconds).

However, many users start to use guided search this might generate a bit of contention on the server where the search daemon is running. Well, I think that could possibly happen, so maybe we need to implement some kind of search results caching to prevent that.

That being said, thoughts/questions/doubts:
- Where could we store cached results that could run faster than simply passing all queries to Sphinx?
- If we do this using our cache table, then we could combine this with Cache Router, Memcached, etc.
- We would have to measure different methods.
- Anything else?

Comments

TapSkill’s picture

Issue summary: View changes

You could cache the entire HTML of each page that is visited. Each version fo Drupal is different in how it handles page output, but just do a check on page load for a valid cache file for that page, and if it exists, don't load the page dynamically and instead load the cache file. Sphinx has little to do with this process.

TapSkill’s picture

Status: Active » Closed (works as designed)