Skip to content

24 ways to impress your friends

Vote down?

Per Wiklander

Re: Data URI
It immediately got me thinking if creating an encoding script to run before deployment. So that I can work with normal non mind altering CSS and background images and then turn it into optimized CSS with data: URI right before it is deployed to the web server. As always when I get ideas like this the next though that hits me is “someone else should’ve thought about this before” and in this case it was true:

Check out http://duris.ru/faq/ for info about the technique and a great tool to do exactly what I wanted.