
This question has been answered by mdehaan. See the first response.
[ed. note: mdehaan last edited this post 11 years, 3 months ago.]
Database caching
If you enable the cache_db system setting, MODX can automatically cache database result sets fetched by any xPDOCriteria or xPDOQuery instance. This includes all of the result sets representing xPDOObjects or collections of xPDOObjects returned by methods like getObject and getCollection.
This feature can be enabled in environments where database access is more expensive than PHP include time, for instance, when using an external database server, or custom configured for environments with memcached, APC, or other caching systems available. This is a separate partition from the other cache partitions in MODX, so it can be configured with other cache handlers. See xPDO Caching for additional information.
These suggestions will speed things up:
Replace conditional output modifiers with dedicated snippets.
Replace getResources and Wayfinder with pdoResources and pdoMenu from the pdoTools package. Other items in the package are also faster (e.g., pdoUsers).
Don't use TVs for searching and sorting.
Make your images smaller when possible and use CSS sprites.
Combine CSS and JS files manually and load a single one of each when possible.
Don't nest things any more than necessary: http://bobsguides.com/blog.html/2014/05/15/dont-be-a-nester/.
Make as many pages as possible cacheable and don't call snippets uncached unless necessary. Menu snippets (e.g., Wayfinder and pdoMenu) should generally be called cached.
Disabling database cache could speed up PHP.THX!
This shouldn't be enabled for small websites...
Database caching
If you enable the cache_db system setting, MODX can automatically cache database result sets fetched by any xPDOCriteria or xPDOQuery instance. This includes all of the result sets representing xPDOObjects or collections of xPDOObjects returned by methods like getObject and getCollection.
This feature can be enabled in environments where database access is more expensive than PHP include time, for instance, when using an external database server, or custom configured for environments with memcached, APC, or other caching systems available. This is a separate partition from the other cache partitions in MODX, so it can be configured with other cache handlers. See xPDO Caching for additional information.
That suggests that your server is overloaded and/or your host doesn't have very good DDOS defenses.THX Bob!