There''s nothing in rails for this. A simple ruby script would do the
job nicely.
On 8/10/05, Ezra Zygmuntowicz
<ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org>
wrote:> Hey there list-
> I have a question about expiring caches. I need to expire
> everything cached every 2 hours or so. What is the best rails way to
> do this? Is there something from within rails I can use to do time
> based cache expiration? Or should I just have a cron job that blows
> away the cached files in public so they can be regenerated?
>
> Thanks for your insight-
> -Ezra Zygmuntowicz
> Yakima Herald-Republic
> WebMaster
> 509-577-7732
> ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
rick
http://techno-weenie.net