Jump to content
Larry Ullman's Book Forums

Recommended Posts

Larry,

 

I was reading the section in the book about gzipping files, but it seems like it is more directed towards compressing text/database output. What I want is to gzip all html, css, and image files before sending them to the browser. I have done some research on this topic and it seems there are a few ways to do it. I heard that it can be done with a directive in an .htaccess file also.

 

What is the best practice for gzipping site resources before sending them to the client?

 

Thanks,

 

Matt

Share this post


Link to post
Share on other sites

Larry,

 

Thanks for the reply! So I should do it with a .htaccess file (I'm on a hosted server)?

 

Thanks,

 

Matt

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...