If you have read the Fast Splash and Landing Pages ebook and have a comment or question, please leave it on this page. Thanks.
Loading Headers on a CSS File
This is the code I use to load file headers on a CSS file. You call the php file rather than the css file. You can include as many files as you wish. If you start including css files from plugins you need to disable the css load in the plugin itself. You do not want to be downloading the css file twice.
1 2 3 4 5 6 7 8 9 10 11 12 | <?php /* This routine will detect if the browser can receive gzipped files and then gzip the combined css file if appropriate. */ header('Content-type: text/css'); header("Expires: " . date(DATE_RFC822,strtotime("+7 days 2 hours"))); ob_start ("ob_gzhandler"); include('../css/combined.css'); ob_end_flush(); ?> |
Speeding Up WordPress
I wanted to speed up my WordPress website. I ended up getting so much information I decided to create a website dedicated to speeding up WordPress. It is called WordPressSpeed.com
There is also a lot of information on this website. Check out the categories on the right side of this page.



