📜 ⬆️ ⬇️

Version 0.3.5

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). The application has been tested and installed on CMS such as Drupal 5 and 6, Joomla 1.0 and 1.5, Wordpress 2.7 and many others.

Detailed installation guide .
Download version 0.3.5 .
Download mini installer version 0.3.5 .

List of changes


Just want to thank everyone who takes part in testing and talks about the problems that arise. The point, indeed, is moving forward, and is moving at a very good pace. Improvements over version 0.3:


Small FAQ


After a large number of questions I want to highlight a certain number of problem points (mostly they concern JavaScript-logic). Based on these tips, a guide on how to use Web Optimizer will be formed in the future.
')
First, as mentioned above, not all systems make it easy to switch to using “Unobtrusive” JavaScript. If you hear this term for the first time, it is better to get acquainted with the corresponding series of articles . Using this approach can significantly increase the speed of loading the site, but requires compliance with some rules when using client logic on the site. Since now this setting is disabled by default, this will not bring problems with the standard installation of Web Optimizer.

Secondly, in some cases (rather rare), the JavaScript code may not be written very correctly, as a result of which, when parsing and reducing it according to the specification (using JSMin), problems arise due to the inoperability of certain parts. In this case, it is recommended to check the current scripts using JSLint and / or use alternative mechanisms to minimize the code (Packer, YUI Compressor), or maybe even disable script compression (if gzip enabled, then it will be enough).

Thirdly, sometimes the situation is spoiled bytes left by Notepad in the beginning of the file when it is edited in UTF-encoding. In some cases, they are able to break the layout, sometimes browsers ignore them, so the problem is not always clear. In the case of “broken” files, it is recommended to check the source (CSS or JavaScript files) for specific characters at the beginning (of course, they are not visible in Notepad, you should check it with any alternative text editor). And remove them from there.

Fourthly, if the site design uses full-color images and does not use transparency, it makes sense to turn on the “Save CSS Sprites to JPEG” setting: then the size of the final files will be significantly smaller. If transparency is used, PNG is much better suited.

As usual, any suggestions and comments are welcome. Now for the project you need:

The project site is currently only in Google Code: code.google.com/p/web-optimizator
Download the latest version of the application here: code.google.com/p/web-optimizator/downloads/list
Any problematic issues can be sent here: code.google.com/p/web-optimizator/issues/list
The source file for localization is located at: web-optimizator.googlecode.com/svn/trunk/libs/php/lang/en.php
Twitter feed with latest news: twitter.com/wboptimizer

Source: https://habr.com/ru/post/56745/


All Articles