> I'm trying to figure out a way to track whenever a given > page's rendered > output may have changed.
I was doing some thinking about this recently, but haven't had a go at implementing yet. My basic idea was: Add a listener that hooks into after_initialize on page, snippet and layout. Hook into SiteController - reset the listener before rendering the page, and then read out the list of accessed objects after the render is complete and dump that list to the db. Have a listener that hooks into after_save on page, snippet and layout. Read the list of urls that accessed that object and clear them all - for pages also clear anything that has accessed the parent page. This should give pretty much complete coverage for pages with content that depend only on db changes. Any content that is time sensitive though, you'll have to have some other mechanism for. Dan. _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
