Hey Tim,
to answer your questions:
- How large is the "increased the size"?
The default cache size is 10.000 items.
- Is it admin-configurable/tunable?
Yes, the cache size is configurable. With 3.0 you can even change the size of the cache at runtime (CONF-12836).
- For example: In an instance with 250K pages, will they all be cached?
I wouldn't advise to try to cache all page ids, but instead follow the "Cache tuning example" section in our guides on cache tuning to achieve best performance (you don't need to touch the configuration files in 3.0 anymore).
- How long will page names live in the cache?
- Are hooks in place to clear the cache when/if pages are renamed?
- Is there potential for conflict if a page is named "Meetings", and then renamed to "Archived Meetings" and then a new page is created with the name "Meetings" (but obviously a new ID)?
The entries in the cache never expire. If the maximum size of the cache is reached, the least recently used entry will get pushed out if a new page id gets cached. Updates to page titles in all variations will update the corresponding entry in the cache.
Cheers,
Chris
Hey Tim,
to answer your questions:
The default cache size is 10.000 items.
Yes, the cache size is configurable. With 3.0 you can even change the size of the cache at runtime (
CONF-12836).I wouldn't advise to try to cache all page ids, but instead follow the "Cache tuning example" section in our guides on cache tuning to achieve best performance (you don't need to touch the configuration files in 3.0 anymore).
The entries in the cache never expire. If the maximum size of the cache is reached, the least recently used entry will get pushed out if a new page id gets cached. Updates to page titles in all variations will update the corresponding entry in the cache.
Cheers,
Chris