I’m developing a site that will have a document count of about 3500 regularly updated pages, coupled with various browse pages that sort the regularly updated (once a day) pages accordingly - using Ditto.
I guess my questions are:
- Is there a way to get ModX to automatically cache (using the existing cache system) the pages containing the Ditto calls by some user-defined time, say, every hour?
- Or, because my cached documents are furthest from the trunk i.e. root-->browse-->sub-browse-->cached doc, is there a way to set the Ditto containing browse pages to cached, to automatically update their cache when a child page has been saved or created?
It is just that I’m finding the Ditto browsing pages to be quite resource intensive and would like to have them in a cache, however if the child pages are updated, I would like the Browse page caches to be updated too. Any suggestions on how to best go about caching site content?
Or is it best to keep the pages dynamic and use something like MySQL Query Cache or Memcached instead?
What might be the best way to integrate Modx with something like Memcached
http://www.php.net/memcache?
Cheers
mark