I guess also, I'd need to be able to expire a page's parent, and all  
the parent's children. The case where that would be necessary is if  
the title of the page was changed, so you'd need to regenerate the  
navigation on all the pages in that section.


On Jun 21, 2007, at 4:02 PM, 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:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>

------------------------------------------------
Ryan Heneise
Art of Mission, Inc.
3720 Gattis School Rd #800 PMB 245
Round Rock, TX 78664

800-722-1492 (phone)

www.artofmission.com
[EMAIL PROTECTED]



_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to