Speeding Up MODX Sites with Smart Snippet Caching
Learn how to speed up MODX Revolution sites by caching snippet output and isolating user‑specific logic in thin uncached wrappers.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to speed up MODX Revolution sites by caching snippet output and isolating user‑specific logic in thin uncached wrappers.
MODX Revolution’s default menu can bury frequently used tools. Learn how to register a custom <code>modAction</code> and <code>modManagerMenu</code> to surface a “Recent Resources” page directly under Components.
Decide when to use cached MODX template tags versus uncached tags for dynamic content. Avoid stale user data and cache poisoning with a practical validation pattern.
getResources struggles on deep MODX resource trees. Here's how to migrate paginated listings to pdoPage, with a worked example, verification steps, and the real trade-offs.
Guide comparing TVs, MIGX TVs, and custom xPDO tables for storing repeatable data in MODX, with step‑by‑step implementation of a custom events table.
MODX Revolution uses Contexts as its multi-tenancy primitive—one installation, multiple isolated sites. This architecture note covers the minimal viable design, trust boundaries, operational verification, failure modes, and the triggers that force a move to separate installations.
Learn how to build and run a custom database query with MODX Revolution’s xPDO ORM. This guide covers prerequisites, building the query, verification steps, and recovery options so you can safely fetch data without raw SQL.
MODX contexts let one core serve multiple sites, but they share a database, manager, and codebase. This guide covers the minimal design, routing pitfalls, trust boundaries, ACL patterns, cache issues, and conditions that signal you need separate installations instead.
Learn how MODX caches parsed resources, when to mark them uncacheable, and how to verify cache hits to improve performance without serving stale content.