You should enable page caching, but have proper sweepers so that the
cache is deleted. Also, when your mongrels are down (which should
happen only on new code rollout), ensure that your webserver rewrite
rules searches for maintenance.html (assuming ur using capistrano),
and if that exists, only display that. Proper configs are all over the
net for Apache, nginx, and with a few hacks, lighttpd. Also, on
mongrel-cluster start/stop, you should delete your page cache.
Searching for a "page cache" tutorial on Google would help.

Vish

On 5/16/07, Navneet Aron <[EMAIL PROTECTED]> wrote:
>
> Thanks Vishnu. index.html was there (I believe it was generated as a
> page cache). I deleted it . But can you help me understand why does it
> get created? So should I disable page caching. It might have an effect
> on the performance.. Thoughts??
>
> Thanks
> Navneet
>
> Vishnu Gopal wrote:
> > Are you using page caching? If so, ensure that cached files (by
> > default stored in public/ as controller/action.html or index.html)
> > should be deleted.
> >
> > Vish
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to