Introducing… PHP Speedy!
Following all the feedback on the site speed boost script, I have fixed all the bugs, added the features that were requested and come up with a name. It was confusing calling it alternately “site speed boost script”, “compressor”, “aciddrop compress” etc, so I decided to come up with a new moniker. And then waste a few hours designing a logo, of course (and it’s supposed to be flames, not a sea creature).
So, PHP Speedy now boasts:
- An installer. Lots of people were having problems with the paths, so we now have an installer that*should* take care of everything very easily. If you need to change anything you can either just re-run the installer, or change the config.php file directly.
- Full support for relative image paths in your CSS, in multiple CSS files. Image paths in CSS are now converted to absolute paths, so you no longer have to worry about where to cache the CSS.
- Added support for different rel types. (rel=”alternative” and rel=”stylesheet” are cached separately)
- Added support for conditional comments in the HEAD tags (this also fixed the problem of commented out stylesheets)
There are still some requirements:
- Your site can’t use ob_end_clean(); or anything that retrieves the buffer in its code. This rules out Joomla, for example.
- You need to put the CSS and JS in the between the <head> and </head> parts of your page.
In order to install PHP Speedy you should:
- Download and unzip the PHP Speedy package into its own directory
- Point your browser to the PHP Speedy directory
- Follow the installation instructions
For those of you who are upgrading, just create a new directory for PHP Speedy and install it there. At the end of the install you will be given the new code to include the PHP Speedy file.
Please let me know how you get on, and report and bugs or problems via the comment form.
You can download PHP Speedy from this link: PHP Speedy 0.4.6 download
Tests and examples
Check out the new PHP Speedy dedicated page
I have some more killer features planned for PHP Speedy, and also a Wordpress plugin version, so make sure you subscribe to my RSS feed to stay up-to-date.
Posted by admin in php