best file types to apply compression

when studying the web acceleration,I come to a point when someone said that there’s certain types of files in which applying compression is useless such as videos and images,while others are very useful such as text and html. I want to know is this true and why

It is always better to go for non-natively compressed files such as xml, json, htc, plain text. Where as natively compressed files such as gif, png should be avoided as they end up in increasing CPU usage and sometimes file size as well.

It is always better to go for non-natively compressed files such as xml, json, htc, plain text. Where as natively compressed files such as gif, png should be avoided as they end up in increasing CPU usage and sometimes file size as well.

does this mean that compression is more effective with html than videos or images?

does this mean that compression is more effective with html than videos or images?

Hi Basem,

Did you see this post “What is the best HTTP Compression profile settings?”:

https://devcentral.f5.com/questions/what-is-the-best-http-compression-profile-settings

there is information that might interest you.

Regards