Saturday July 31, 2010 @ 04:08:26 GMT+10    ( Weather:  18°C / 64°F  -  Partly Cloudy )
Home » Weblog Archives

Info *NOTE* This page is NOT the actual weblog entry. The purpose for this page is to provide extra background information on how this particular entry is constructed, by using custom markups and tags. To read the actual content of this entry, please go to here.

The Raw Structure:

Markup | Tag used: BBCode , Smiley


I've been updating this site since last month. One of the things I added is able to serve gzip-encoded page. On top of that, my site is also able to serve gzip-encoded CSS and JS file :heh: Just scroll to the bottom of every page and you'll notice a line that says something like [i]"Gzip enabled , CSS compressed , JS compressed"[/i]. This will give an indication whether they are enabled or not. In other words, this will make pages load faster as well as saving some tiny bandwidth.

I've written a how-to thing that gives you an idea how to achieve that with PHP using [i]ob_gzhandler()[/i]. For this to work you'll need the appropriate version of PHP, zlib extension and web browser that supports compressed web page.

Link: [url=/dev/php/how-to-enable-gzip-compression-on-output-buffer.php][PHP] How to enable Gzip compression on output buffer[/url]

Next topic will be on how to shrink, compress and cache CSS/JS files. Those who're using heavy AJAX and CSS styling will benefit from this.

Live Rendering:

The real-time rendered result...

How to enable Gzip compression on output buffer - 12:59 pm
Browser , Coding , Guides , PHP  -  poster 

I've been updating this site since last month. One of the things I added is able to serve gzip-encoded page. On top of that, my site is also able to serve gzip-encoded CSS and JS file heh Just scroll to the bottom of every page and you'll notice a line that says something like "Gzip enabled , CSS compressed , JS compressed". This will give an indication whether they are enabled or not. In other words, this will make pages load faster as well as saving some tiny bandwidth.

I've written a how-to thing that gives you an idea how to achieve that with PHP using ob_gzhandler(). For this to work you'll need the appropriate version of PHP, zlib extension and web browser that supports compressed web page.

Link: [PHP] How to enable Gzip compression on output buffer

Next topic will be on how to shrink, compress and cache CSS/JS files. Those who're using heavy AJAX and CSS styling will benefit from this.
$ view_blog.php 2009.09.17 18:16:41 $
Lost? | XML/HTML sitemap | Contact
38.107.191.85 , 23 queries , 0.1978s
Gzip enabled , CSS compressed , JS compressed
Copyright © 2005-2009 Darren's Outpost