![]() |
gzip your CSS
Step 1
Create a new file, call it 'gzip-css.php' copy the following snippet and upload to the 'vbulletin_css' folder: PHP Code:
create a .htaccess file, put this in the same directory as above, put in the following snippet: PHP Code:
Open the adminfunctions_template.php file located in the 'includes' directory. Look for the following: PHP Code:
PHP Code:
|
FIRST POST
Awesomse idea man :banana: |
IMHO it would be easeir to just use mod_gzip ?
|
what's this for?
|
its for gzip'ing your CSS!
like gzip'ing up your coat when its chilly. ;) |
umm gzip css ?
confused... it should help to load the page faster ? mod_gzip ..its possible to use it in shared server? |
Hmm, I wouldn;'st suggest that, at least if I understand some things. I believe that IE has some issues cacheing gziped pages, and the CSS file should only be requested a few times before cached, thus why we have it as a file.
|
Thanks!
|
Quote:
this option allready in vb's acp. |
Quote:
|
All times are GMT. The time now is 02:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|