From: Jonas Hartmann Date: 2005-06-24T22:25:06+09:00 Subject: FastCGI: handling the caching of ruby scripts. FastCGIs idea of caching scripts on first startup is a great thing but: - Sometimes you need to reload scripts - If you are developing, reloading scripts that have been modified is needed. My idea was to support two ways of reloading. 1.) A GET/POST variable from HTTP can force the script to stops its FCGI process and launches itself again after that. 2.) The script has to detect if the user-agent send an force-refresh. (Shift+Reload in Firefox for example). If that is the case, the script stops its FCGI process and launches itself again after that. This behaviour can be disabled by a global variable. I do not have any idea how to make neither 1.) nor 2.) work. How do I detect if the user-agent send an force-reload/cache-ignore? I cannot make the last example on this Page: http://rubygarden.org/ruby/ruby?FCGIRubyWhyArentMyChangesDisplayed working yet... Any hints, tipps, suggestions? -- Jonas