Muffinresearch Labs by Stuart Colville

Automatic merging and versioning of CSS/JS files with PHP | Comments (0)

Posted in Snippets on 14th December 2006, 4:07 pm by Stuart

One of my colleagues Ed, has come up with a really useful PHP script that makes it trivial to concatenate and version css or js files on your site. What it does is takes an array of the files you wish to join together and it will create a versioned include. When you update your source files the script automatically re-builds the combined file and adds a new version number to prevent caching of outdated files. Not only that it also maintains a history of old versions for compatibility with code that uses the older file versions. See Ed’s post for more details

Post Tools

Comments: Add yours







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Using Loggerhead with mod_wsgi|(0)

Here’s a post I wrote over on the Project Fondue Blog about our use of Loggerhead with mod_wsgi under Apache. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net.

If you’re not already subscribed to the Project Fondue blog feed then I can recommend it, as there should be some interesting posts coming out of there in the coming months (yes I’m unashamedly biased!).

Ubuntu: Turn off changing workspace with mouse wheel|(1)

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck “Viewport Switcher” which is under the “Desktop” heading.

Photos on Flickr

© Copyright 2004-10 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.676s.