Category: Asides (page 2 of 3)

CSS Minifiers Comparison

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.

via CSS minifiers comparison / Stoyan’s phpied.com.

gzip support for Amazon Web Services CloudFront

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.

via gzip support for Amazon Web Services CloudFront – nomitor.

mod_pagespeed for Apache

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.

via mod_pagespeed Overview.

Charles Web Debugging Proxy

Charles – cross platform HTTP/HTTPS proxy for debugging web requests on your own system. I wonder how this compares to Fiddler.

innotop

innotop, a ‘top’ clone for MySQL. It can display queries, replication status, transactions, locks, open tables, and more. Handy little tool to have around.

Why MySQL timestamp is 24 seconds different from PHP

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().

via Why MySQL timestamp is 24 seconds different from PHP | Pumka.net Blog.

Turns out MySQL applies leap seconds, but PHP doesn’t.

jQuery Mobile Alpha 1 Released

jQuery Mobile Alpha 1 Released

I like it, looks very promising. I’d be half tempted to use it for desktop clients as well in some cases.

PHP Garbage Collection

Derick Rethans on garbage collection in PHP: Part 1 – Variables, Part 2 – Cleaning Up, Part 3 – Performance. PHP 5.3 has significant improvements in this area.

Commanding the Universe

I wish the whole universe would just be quiet.

- Rachel, age 4, over breakfast

NSTX, IP-over-DNS

NSTX, IP-over-DNS – clever hack (via Jeremy Zawodny)

Older posts Newer posts

© 2014 Joseph Scott

Theme by Anders NorenUp ↑