Short bio: Computer Scientist, FOSS supporter (read more)
Tux Machines (TM)-specific
The theme for this month is “I didn’t know you could do that in Linux,” and today I’ll show you how Linux can really help your blog take off, both in terms of improving its performance as well as giving you a much greater handle on what’s happening.
The magic behind these items is the native text processing capabilities that Linux has long enjoyed. These capabilities will crunch through log files and web pages extracting data or making changes in a flash.
To start, consider the way images are used on your site. Within the HTML tag you can specify the height and width of the image to be displayed but often these tags are missing. This might be because the content is generated dynamically, or because the HTML has been hand-coded or because a tool did not add those tags when an image was inserted.
Whatever the reason, the HEIGHT and WIDTH attributes are important. A web browser can render a page much more quickly if it knows these values in advance. It can leave an appropriate space for the image while it is still loading it, but with the text and other elements all in the right place.