Prime (progressive/responsive image enabler) is a JavaScript script I wrote, that allows for progressive & responsive image loading, potentially improving page speed by up to 96%.

This means that initially a small, low quality image is loaded on the page, and this is then replaced (after load) by a higher quality version, but only if required (if the element is actually in view of the user). That’s the ‘progressive’ part. If the user scrolls, rotates or resizes the page, this process is repeated for all visible elements, either adjusting them up or down. This is the ‘responsive’ part.

Lees verder »