benhoIIand / grunt-cache-bust

Cache bust static assets using content hashing
MIT License
265 stars 103 forks source link

enableUrlFragmentHint #179

Closed olimortimer closed 8 years ago

olimortimer commented 8 years ago

Now that enableUrlFragmentHint has been dropped (as far as I can see), how do we cache bust file references via PHP, for example:

<?php $this->load->view('includes/footer.view.php', array('scripts' => array('project.min.js#grunt-cache-bust'))); ?>

This previously would add a hash to the end of the file, to cache bust, but now it doesn't see this, and doesn't rename the file reference to the new busted file.

olimortimer commented 8 years ago

Ignore me, I'm going mad...