Compress WordPress output and speed your blog!
You can compress your output and make your blog speed faster. But this function needs zlib. If your server has no zlib plugin this function can’t work. Let’s Begin…
Here is the code;
Add this code to your header.php above the DOCTYPE area;
<?php
ini_set('zlib.output_compression', 'On');
ini_set('zlib.output_compression_level', '1');
?>
For check zlib…
Create a test.php file with this code ;
<?php phpinfo(); ?>
After that you can check your phpinfo with this file. (http://www.yourdomain.com/test.php)
That’s All. Have a nice day.
- Wordpress















Made by Symmetric Web
Distributed by Smashing Magazine
No comments yet!