Ryan, Unfortunately that's the only way to do it currently, assuming the structure of your pages requires this. Unless you're modifying the cache length, the changes will propagate in 5 minutes, of course.
Sean Ryan Heneise wrote: > Is there an easy way to expire a page and all its children? > > For example, this page: http://biola.artofmission.com/news/ and all > its children need to be expired whenever a new page is posted in the > news section. > > I was just going to do ResponseCache.instance.expire_response > (page.url) recursively, but I was hoping there was a more elegant way > to do it. > > thanks, > ryan > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
