Managing CSS & JS the GatherContent way
AutoVersion script inspired by Chris Coyier's FOWA slides.
Read a blog post about it: GatherContent Blog
In a nutshell, this script lets you combine and compress CSS and JS files, so that you can organise them in folders as you see fit (even into hundreds of separate files), saving browser calls to the server in the same time.
Cache gets automatically invalidated when you make a change to any of the files listed in any _dynamic.php file by changing ?v=[timestamp] part, which forces browser to download file again.
We recommend turning compression off for JS files, as it may cause bugs.