Re: Hive seems to be strongly cached?
Reply #3 –
Interesting.
I don't think the issue is on the closure compiler end of things (it is a google service). That function will try a number of things, but given what you showed fixed your issue, it is an issue with the initial step so we don't have to look far.
In step one the service is sent a request to fetch the files from the site (so no data is sent from the site to the service). If you are getting back the old files, it means your site is serving up the old files to the service when they are requested (maybe expires headers or varnish or other)
Not sure if we can add a cache buster to the string (well we can, just not sure if the service will work with that), worth a try ...
$post_data .= '&code_url=' . urlencode($file['url'] . '/scripts/' . $file['basename']);
$post_data .= '&code_url=' . urlencode($file['url'] . '/scripts/' . $file['basename'] . $this->_archive_stale);