|
Hello. I have a Pyramid app running. When I make change to some of the pages (changed favicon.ico, updated prettify.css), they are not reflected. I"ve run the bin/stop then bin/start scripts. If I view prettify.css (for instance) directly in the shell, I see the updated version. If i view it in the browser, I see the old version. Tried clearing browser cache - no change. If I remove prettify.css from the server (rename it), I can still see it on page refresh. Guessing its cached somewhere? Or am I missing something obvious? Help appreciated! |
Update (figured it all out):Had nothing to do at all with Caching. I originally followed the WebFaction documentation for deploying an existing Pyramid application
I thought this was the right thing to do, because my project was, well, already existing. This was incorrect, that was for a complete deployment. So, what it did was install my application, inside the virtualenv, to
This, rather than putting my project in Added that all in in case anyone else is as confused as me about |
It is possible that there is some upstream caching taking place, but this is not something that we cache. You could try attaching a timestamp variable to the end of your static file queries, which should cause any proxies along the way to think it's a new file and get the new version, e.g. "/static/css/cssfile.css?1347679787". - Wayne K. | WebFaction Support.