[Potlatch-dev] Potlatch2 and Chrome
Richard Fairhurst
richard at systemeD.net
Thu Dec 9 21:42:27 GMT 2010
Eric Wolf wrote:
> I am running P2 on the USGS OSMCP server and trying to tweak the
> style sheets a lot. I can't seem to get Chrome to refresh the
> stylesheets properly. Firefox seems to do a much better job. Is this
> just endemic to Chrome or is there some way (like a .htaccess
> setting) to facilitate refreshing?
You can put P2 into a developer-friendly "don't cache stuff" mode by
sending an additional variable from your JavaScript embed code:
fo.addVariable("nocache", "true");
This will work if you're using an Apache server but may have
unpredictable effects if you use anything else. (It does it by forcing
everything to be a POST request rather than a GET, which means Flash
won't cache the response.)
cheers
Richard
More information about the Potlatch-dev
mailing list