As a general rule, when is enabling gzip compression for IIS a good idea? Take for example the following cases:
- Static Page
- ASP Page that has many static elements and a few dynamic elements
- ASP Page that has a few static elements and many dynamic elements
- ASP Page that is completely dynamic
- A Wordpress installation on IIS
Obviously you can have a mix of static/dynamic pages. What are some general rules to make a decision? If a page contains ANY dynamic content is it bad to compress it?
In my case I have two sites. One site is mostly static with a few pages that are generated dynamically by ASP. The second site is a Wordpress installation. For case one I feel comfortable saying compression is the way to go. For Wordpress I am not so sure.
I am having trouble wrapping my head around what happens with dynamic content. Say I have a page that contains a dynamic element that displays the date and time. Every time someone visited the time would change. Would compression be silly?