Compress HTML before sending to the browser
Hany function ob_gzhandler that help facilitate sending gz-encoded data to web browsers that support compressed web pages.
This is the way I do it, checking the extension it’s loaded and that it’s possible to start the encoding:
if (extension_loaded('zlib')) {//check extension is loaded if(!ob_start("ob_gzhandler")) ob_start();//start HTML compression, if not normal buffer input mode }
- Free SMS Notification for high server load
- neoMobile - HTML Template for mobile browser
- Tools to get a good domain name
- No IE6, please
- Post it Board - HTML Template
- What Does It Take To Become A Search Engine Optimization Specialist?
- WordPress Fans:Your Contact Form Plugins
- WordPress Fans: How to load your theme Faster!
- SEO and the Semantic Web - how RDFa and HTML 5 will impact search
- Review of Windows Live Writer
Help sharing and Flatter me ;)
