Content tagged with "cache"

Dreamhost and Django (fcgi) caching Post on Oct 28, 2009

Every once in a while (while dabbling with Django on Dreamhost) I run into the problem that Dreamhost appears to cache my site. I've even canned the db or deleted the settings file to try and provoke an error. But the site ticks on (for a bit anyway), and I want to see results now! damnit...I am after all hacking on the live site instead of my staging server! Talk about living on the edge!

The cure

Thwart the so-called caching with a mighty blow to the process itself, it will be restarted at the next request:

killall -USR1 dispatch.fcgi

Thanks to the dreamhosters forum for the tip.

Af