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

_______________________________________________
Potlatch-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/potlatch-dev

Reply via email to