Peter Bengtsson has worked out that squeezing whitespace out of some CSS, JS and HTML can save 3.6 gig a month in bandwidth on busy Plone sites such as plone.org.
The downside of course is that the venerable tradition of "view source" as a way of promulgating knowledge about how things work becomes more challenging.
The nice thing about leaving white space and other stuff "as is" and using say, gzip compression is that you get to reconstitute the full human-oriented text if and when required.
Trading readability for bandwidth is a veritable two edged sword with more dimensions than a Philip Pullman novel.
No comments:
Post a Comment