Jump to content

Caching search results


Recommended Posts

Let's say I set a 1h lifetime to the cache. During this time all queries and results are cached. Each time a query is repeated the results are retrieved from cache. After the expiration, the cache is cleared and the process should be repeated.

 

It turns out I'm pretty sure this is not the best way, so this thread.

Edited by xilopaint
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...