![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| How To: Optimize Your CSS Even More A nice article I found about speeding up the css part of your site. I figured this could be applied to pligg as well in our search for a faster pligg site. uses php and zlib. http://paulstamatiou.com/2007/03/18/...css-even-more/
__________________ God bless, -en3r0 Torrop.com - Torrent and P2P News MemeVote.com - Find and vote on Memes |
| The Following User Says Thank You to en3r0 For This Useful Post: | ||
| Sponsored Links |
| |||
| Yep, a very good tip, and works well for javascript files too. The real benefits of compression come from compressing these type of files in my opinion, not simply the html. If you have a large number of js / css files in a directory and don't want to change them all (ie. feeling lazy ), you can add 2 files to the directory that will do the job for you (needs htaccess access and zlib enabled):.htaccess Code: AddHandler application/x-httpd-php .css php_value auto_prepend_file css.php php_flag zlib.output_compression On Code: <?php
header("Content-type: text/css; charset: UTF-8");
header("Cache-Control: must-revalidate");
header("Expires: " . gmdate("D, d M Y H:i:s", time() + 3600) . " GMT");
?> |
| ||||
| You can speed up your Pligg site dramatically by gzipping your CSS file. It almost cut the loading time in half when I did testing with it.
__________________ I accept donations for my time helping users like you on the forum and IRC. FREE and premium Pligg Web Hosting (NO ads, Includes MySQL, PHP, PHPMyAdmin, and Control Panel) - PM me for discounts on premium packages or if you would like a custom-made package. Paypal accepted. |
| |||
| can we expect to see these things in the next release?
__________________ God bless, -en3r0 Torrop.com - Torrent and P2P News MemeVote.com - Find and vote on Memes |
| |||
| Hi all, i've been searching for optimizing js and css, i thought this links could be useful if anyone tries to optimize. WP css OptimizerThis one is a plugin of wordpress to optimize the js in one file and the css in other rakaz combine.phpAnd this one is a standalone php script to combine js and css. I have no skills programming so i haven't implemmented yet to my site, but i think it can be useful |
| |||
| Robson » CSS Compressor seems to be the most reliable CSS compressor. And Dojo ShrinkSafe -- the safe way to make your JS sprightly seems to be a very good Javascript compressor. It took thickbox from 11kb to 7kb for me. Geoserv |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to optimize pligg to load faster | NeoKnight | General Help | 21 | 01-05-2008 05:47 PM |




), you can add 2 files to the directory that will do the job for you (needs htaccess access and zlib enabled):
Linear Mode

