Skip to main content
replaced http://webmasters.stackexchange.com/ with https://webmasters.stackexchange.com/
Source Link

I must assume that this is a duplicate question, but I could not find the answer myself. I want to enable gzip compression to everything my website sends (mostly php, css, a slight bit of js).

this questionthis question makes a point of adding a line into the .htaccess file (that i do have access to) but i'm not sure if that would include the dynamic content.

this questionthis question (has a typo in the question, it should be ob_start I think) tells me how to enable gzip to php files. and after fixing the typo it seems to work.

do i need to use both ? is there anything else i need as well ?

I must assume that this is a duplicate question, but I could not find the answer myself. I want to enable gzip compression to everything my website sends (mostly php, css, a slight bit of js).

this question makes a point of adding a line into the .htaccess file (that i do have access to) but i'm not sure if that would include the dynamic content.

this question (has a typo in the question, it should be ob_start I think) tells me how to enable gzip to php files. and after fixing the typo it seems to work.

do i need to use both ? is there anything else i need as well ?

I must assume that this is a duplicate question, but I could not find the answer myself. I want to enable gzip compression to everything my website sends (mostly php, css, a slight bit of js).

this question makes a point of adding a line into the .htaccess file (that i do have access to) but i'm not sure if that would include the dynamic content.

this question (has a typo in the question, it should be ob_start I think) tells me how to enable gzip to php files. and after fixing the typo it seems to work.

do i need to use both ? is there anything else i need as well ?

Tweeted twitter.com/#!/StackWebmasters/status/126826171894730754
Source Link
xyious
  • 713
  • 4
  • 10

how to best enable gzip compression on shared hosting

I must assume that this is a duplicate question, but I could not find the answer myself. I want to enable gzip compression to everything my website sends (mostly php, css, a slight bit of js).

this question makes a point of adding a line into the .htaccess file (that i do have access to) but i'm not sure if that would include the dynamic content.

this question (has a typo in the question, it should be ob_start I think) tells me how to enable gzip to php files. and after fixing the typo it seems to work.

do i need to use both ? is there anything else i need as well ?