A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

What’s the difference between LocalServerObjectCache, MainObjectStash, and MainWANObjectCache?

SamanthaNguyen

How do I know when and which caching service to use versus the other services (listed in the title)?

I’m currently trying to learn about caching, and would like to understand the difference between them, as well as understand MediaWiki’s caching layer. Thank you.

Tgr

Unlike most things in MediaWiki, this is actually pretty well documented.

SamanthaNguyen

Hey Tgr: thanks for the link to the docs. I’ve been reading it and I believe I have a better understanding of them than I did before.