Minify and consolidate JavaScript scripts via PHP wrapper
Date: 16 mars 2010 à 14:46:15 CET
Sujet: Bugs...


What this article explains?
Its goal is to provide details about the implementation I use on my current project to compress (actually minify) and consolidate (aggregate) JS files into one call. Another issue I had was to deal with the web browser's local cache and the fact that we need to update our javascript code. It is not really user friendly to ask our clients to remove their cache neither press 'Ctrl + F5' Keys!

My ultimate goal was to get a "A" grade a the Yahoo! YSlow Firefox plug-in. Here are their rules: Best Practices for Speeding Up Your Web Site. All I can say is... I've reach this goal!

I saw the post "Compresser et ranger son CSS avec PHP", and decided to post the solution I use for the 2 projects I work on.

More...







Cet article provient de Sophéa, Wilfried... et Eythan
http://sophwill.free.fr

L'URL de cet article est:
http://sophwill.free.fr/modules.php?name=News&file=article&sid=44