Web Optimizer (Web Optimizer) is an application that automates all client optimization actions for an arbitrary site. At the moment it exists as a separate application (which you need to install on the site yourself). PHP Speedy was used as a base for Web Optimizer.
Detailed installation guide . Download version 0.3 . As a result of painstaking work after the last “big” release, a large number of reported errors were corrected and just a ton of new features were added. So, in order:
Added automatic change of the original index.php in the root of the site. The latest build was tested on Drupal 6, Joomla 1.5, Wordpress 2.7 (as well as on some samopisnyh systems) - everything works correctly.
The merging of various @media CSS files into one final was checked and fixed.
Support has been added to include external CSS and JavaScript files in the general assembly (preferably used as an alternative for connecting “unobtrusive” JavaScript). In this case, all the JavaScript code in the head page (both external files and the code itself) is combined into one external file in the order in which the document is located. External files are downloaded once a day, and not with every request to the page. Disabled by default. Thanks so much for promoting quard.
Added the ability to "remove" Web Optimizer (available after successful installation, if you have the appropriate rights). Now all actions can be performed via the web interface.
The logic of creating CSS Sprites is significantly refined (thanks to xstroy) and the ability to create full-color sprites in both JPEG and PNG has been added (the second format is used by default).
Additional clarifications were made in the mechanism for calculating directories on the server (including for Denwer and PHP as a CGI module), errors with a broken CSS file were fixed.
Fixed a couple of errors in the CSS Tidy module and minor problems associated with them.
The installer logic has been slightly refined to be clearer and more direct.
A number of corrections to the source code have been made to eliminate comments and warnings during execution (thanks to xandrx).
Plans for the next release:
Add auto update (based on data from SVN).
Improve directory computation so that you can safely install Web Optimizer in an arbitrary folder.
Test the application for another 10-15 most popular CMS.
Create mini-installer logic (one single file that loads the entire application).
Include alternative compression methods for CSS and JavaScript files (YUI, Packer).
In general, any problem cases with a detailed description are welcome. As practice has shown, nothing is impossible :) ')
PS Quite often there are problems with the automatic inclusion of JavaScript in the "unobtrusive" mode. Recommended in case of “inoperability” of the site (white screen in the browser) turn it off in the configuration (and replace it with “Connecting external files”).
PPS If problems with JavaScript are not eliminated, then you can completely turn off its minimization ( Minify JavaScript - No )