cache_alias_map
Last updated Nov 23rd, 2022 | Page history | Improve this page | Report an issue
Name: Enable Context Alias Map Cache
Type: Yes/No
Default: Yes
Available In: Revolution 2.2.7+
When enabled, all Resource URIs are cached into the Context. It is enabled by default, which is appropriate for the vast majority of MODX websites.
For contexts with a large number of resources (say 50,000 or more), disabling the alias map caching can lower memory consumption. Generating links and looking up URIs will then go directly to the database, however that becomes relatively quicker compared to an in-memory lookup in a very large array.
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn more