Forum: Ruby on Rails Expiring cached pages on server startup

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bb4bdf2b184027bc38d4fb529770cde5?d=identicon&s=25 Wes Gamble (weyus)
on 2007-02-12 20:23
I added the code below to my environment.rb file in order to expire my
statically cached pages upon server startup.

#Expire static files that may be cached
['datagrid/get_parameters.html'].each do |file|

Are there better schemes to do this out there?  This will be executed
every time I fire up a new Mongrel process, correct?

This topic is locked and can not be replied to.