The Arcive of vBulletin Modifications Site. |
|
gzip your CSS Details »»
|
|||||||||||||||||||||||||
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:
![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
FIRST POST
Awesomse idea man :banana: |
|
#3
|
||||
|
||||
|
IMHO it would be easeir to just use mod_gzip ?
|
|
#4
|
||||
|
||||
|
what's this for?
|
|
#5
|
|||
|
|||
|
its for gzip'ing your CSS!
like gzip'ing up your coat when its chilly.
|
|
#6
|
||||
|
||||
|
umm gzip css ?
confused... it should help to load the page faster ? mod_gzip ..its possible to use it in shared server? |
|
#7
|
||||
|
||||
|
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.
|
|
#8
|
||||
|
||||
|
Thanks!
|
|
#9
|
||||
|
||||
|
Quote:
this option allready in vb's acp. |
|
#10
|
|||
|
|||
|
Quote:
|
![]() |
|
|