Closed gazpachoking closed 8 years ago
@scragg0x Now I'm starting to wonder if caching the non HEAD revisions was a good idea. There could potentially be a lot of the building up in the cache, but most of the hits are all going to just be on the head version. Hmm, or maybe put a shorter time limit on those in the cache or something.
Seems nothing was ever being stored to the cache for wiki pages, this enables it. I've added a prefix (in case other things also need cached,) and the sha to the key, otherwise it'd just return the same cached version no matter the sha requested.