Archive for the ‘Coding’ Category

Web Developer Tools

Friday, September 4th, 2009

If you are a fan of FireBug (rockin’ plugin for Firefox to debug and see what is going on behind the scene on a site) then you likely use YSlow performance tool to see bottlenecks, file response times, missing objects, etc.

Google released their competing product called Page Speed.

It is pretty slick and I find it an excellent compliment to YSlow, however, it’s not a replacement.  Some of the unique features are pre-minified files, right mouse click to save optimized images in reports and they best of all…a real-time recorder/monitor of site load process.  You can watch as each and every object is loaded and see how long it takes and if it slows down your site.

If you are doing any web design you really need to be using this awesome tool kit of FireBug (http://getfirebug.com/), YSlow (http://developer.yahoo.com/yslow/) and Page Speed (http://code.google.com/speed/page-speed/index.html)

WordPress Performance

Tuesday, March 24th, 2009

Just a little nice to have feature on your WordPress site.   You can place the following code in your footer.php to display the number of queries and amount of time taken for the page to load.  This version will only be displayed if the user is logged in due to the if statement.

<?php if (is_user_logged_in()) { ?>
<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.
<?php } ?>