views:

31

answers:

1

Hello

When an Apache server supports gzip compression, how can from PHP send a CSS file to the client. Is this using .htaccess or with a library? If is a simple .htaccess line, do provide it!

Thanks a lot

+1  A: 

You want mod_deflate. There's no need to introduce PHP to serve compressed content with Apache.

meagar