compared CSSTidy with best compression, YUICompressor and MS’ Ajaxmin. The verdict is still the same – CSSTidy looks the best, but there really isn’t that big of a difference between the three (and virtually no difference between YUIC and Ajaxmin), especially if you take into account gzipping.
Still on average you get about 35% size reduction when you minify and 80% when you gzip the minified CSS. Meaning when all is done your users only download 19-20% of what they would normally do if you don’t perform these simple optimizations.
With the recent announcement of Custom Origin support in CloudFront it is now possible to use the standard HTTP Accept-Encoding method for serving gzipped content if you are using a Custom Origin. Although not specifically mentioned in the release announcement you can verify this in the Custom Origins Appendix of the CloudFront Developer Guide. CloudFront will now forward the Accept-Encoding HTTP header to your origin server where you can ensure the appropriate content is served based on the supported encodings. CloudFront will then cache multiple versions of this content, the uncompressed version and the gzipped version and serve these to clients depending on the value of their Accept-Encoding header for all future requests.
mod_pagespeed is an open-source Apache module that automatically optimizes web pages and resources on them. It does this by rewriting the resources using filters that implement web performance best practices. Webmasters and web developers can use mod_pagespeed to improve the performance of their web pages when serving content with the Apache HTTP Server.
innotop, a ‘top’ clone for MySQL. It can display queries, replication status, transactions, locks, open tables, and more. Handy little tool to have around.
You may find that timestamp value returned by MySQL UNIX_TIMESTAMP() function is 24 seconds grater than those returned by PHP functions and classes like strtotime(), mktime(), DateTime::getTimestamp(), Zend_Date::getTimestamp().
Turns out MySQL applies leap seconds, but PHP doesn’t.
I like it, looks very promising. I’d be half tempted to use it for desktop clients as well in some cases.
I wish the whole universe would just be quiet.
– Rachel, age 4, over breakfast