Best way of creating a record cache ( Memcache in this example ) [closed]

Why even worry about this? The point is that the query is cached. If the results of two different queries partially overlap, well, so be it. Unless those results are many many megabytes in size and hence take a lot of space, it doesn’t matter. What does matter is that if you want to run the same query again, you don’t need to, because the results are already cached.

Leave a Comment