MyBB Community Forums
Gzip function of mybb? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Gzip function of mybb? (/thread-102921.html)



Gzip function of mybb? - sunjava1 - 2011-09-01

Does mybb uses mod_deflate.c to compress?
<IfModule mod_deflate.c>
	AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>
If so then css and java scripts are not compressed why?



RE: Gzip function of mybb? - StefanT - 2011-09-01

mod_deflate is only used to compress css and javascript files.


RE: Gzip function of mybb? - sunjava1 - 2011-09-01

Question No 1: Then what function mybb uses to compress pages?
Question No 2: But it is not compressing my css files (global.css) , my host allows mod_deflate


RE: Gzip function of mybb? - StefanT - 2011-09-01

1) http://php.net/gzencode


RE: Gzip function of mybb? - Euan T - 2011-09-02

(2011-09-01, 03:07 PM)sunjava1 Wrote: Question No 1: Then what function mybb uses to compress pages?
Question No 2: But it is not compressing my css files (global.css) , my host allows mod_deflate

Compression of static resources should be handled by mod_deflate via the .htaccess file. You've already got a thread asking about that though.


RE: Gzip function of mybb? - sunjava1 - 2011-09-02

(2011-09-02, 02:09 PM)euantor Wrote:
(2011-09-01, 03:07 PM)sunjava1 Wrote: Question No 1: Then what function mybb uses to compress pages?
Question No 2: But it is not compressing my css files (global.css) , my host allows mod_deflate

Compression of static resources should be handled by mod_deflate via the .htaccess file. You've already got a thread asking about that though.

Still with no solution. This is impossible i.e. there is no method to compress global.css without mod_deflate


RE: Gzip function of mybb? - Euan T - 2011-09-02

There may well be a way, but you say you have mod_deflate enabled - which would be the best way to do it.


RE: Gzip function of mybb? - sunjava1 - 2011-09-02

(2011-09-02, 02:22 PM)euantor Wrote: There may well be a way, but you say you have mod_deflate enabled - which would be the best way to do it.

Unfortunately mod_deflate is not working (it is enabled though). Better to leave this option. I am finding another way to do it