Noticed this in the admin config panel.
What does this option do?
Thx


![]() |
| | Thread Tools | Display Modes |
| |||
|
Noticed this in the admin config panel. What does this option do? Thx |
| ||||
|
instead of using this - try using the htaccess method - that always helps me - my sites only load 50k of JS files instead of 120k+
|
| |||
|
Can you post a link to the 'htaccess method' article please? Thx |
| |||
|
Open your .htaccess file and read the instructions at the top of it.
|
| |||
|
remember if you are using a hosting system that has php suexec to use a php.ini for your php values such as the gzip values in the htaccess.. also try using a site like http://www.websiteoptimization.com/services/analyze/ to test it without gzip and then with it on you should see quite a difference in load times! hope it helps a bit |
| |||
|
Read the htaccess file So, I guess the sequence of steps are - 1) Enable option in admin panel 2) Change lines in htaccess Do I have to rename the file to .htaccess after or can I leave it at the default filename 'htaccess.default'? Thx |
| |||
|
The htaccess method is actually different then the method in admin > config. You can enabled the admin > config method which is the best but if that doesn't work you just have to follow the instructions in the htaccess to use the other method. make sure and rename your htaccess.default file to .htaccess
|
| |||
|
This method seemed to help a bit with the loading times on my site.
|
| |||
|
## Gzip Begin ## ## To enable Gzip and decrease the load times of your Pligg site ## change /home/path/to to your absolute server path and remove the # from the lines below # php_value auto_prepend_file /home/path/to/begin_gzip.php # php_value auto_append_file /home/path/to/end_gzip.php # AddType "text/javascript" .gz # AddEncoding gzip .gz # RewriteCond %{HTTP:Accept-encoding} gzip # RewriteCond %{THE_REQUEST} ^(.*).js # RewriteCond %{SCRIPT_FILENAME}.gz -f # RewriteRule ^(.*)\.js $1.js.gz [L] ## Gzip End ## This is all that .htaccess mentions. Can anyone help with an example ..to absolute server path? |
| ||||
| The absolute path will be different on every host. You should contact your hosts support for this information.
|
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| gzip enabled, but not compressing .js files | pxlpshr | Questions and Comments | 0 | 11-05-2008 06:33 PM |
| Gzip Technique That Boosted my load times | Adaman | Questions and Comments | 21 | 02-28-2008 07:31 AM |
| gzip for n00bs | tones | Questions and Comments | 0 | 08-09-2007 07:53 AM |
| Gzipping JS + CSS Files | Simon | Questions and Comments | 7 | 01-11-2007 10:20 PM |
| .tpl files & smarty codes explained | 3dKiller | Questions and Comments | 0 | 04-11-2006 02:52 PM |