We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    Hi,

    Is it possible via some means to run a MODx site which lets say every 24 hours renders a flat HTML version of the pages / content of the site - therefore reducing the load on the server for a busy site which compiles and renders each page every time on a load request? Looking to reduce db load from the site... Is something like this possible????

    cheers

    dubbs.
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Sounds like you're looking for StatCache: docs, extras listing.

      It only caches resources that are fully cacheable, so you might need to go through some templates to ensure that.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 8168
        • 1,118 Posts
        Quote from: markh at Jun 19, 2017, 05:54 AM
        Sounds like you're looking for StatCache: docs, extras listing.

        It only caches resources that are fully cacheable, so you might need to go through some templates to ensure that.

        ok thanks Mark - will have a look into that