On 7/28/05, Peddireddy Srikanth <[EMAIL PROTECTED]> wrote: > can you tell me what would be the ideal page (or image or what ever it > may be) size over which we can apply compression, so that we dont > waste resources compressing smaller pages. I think may be compressing > each and every page will negate the gains that we achieve by > compressing. > Also can you tell me whether it is appropriate to apply compression on > image files (like .gif, . jpeg etc) as some of image formats are > compressed already in themselves.
As long as the page is over a few kBytes, it is generally "worth" compressing. However, the performance difference for compressing or not compressing small pages is fairly insignificant so it's easier to just compress all html content. I have seen problems with both MSIE and Firefox when serving them compressed CSS and Javascript files, so I can only recommend that you serve compressed text/html, text/plain and text/xml. Don't bother compressing image files, they should already be compressed. -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
