Cache Next images when browsing

zaibes

Joined: 2013-05-13
Posts: 1
Posted: Mon, 2013-05-13 08:26

Hello,

I was wondering, is there any module to cache the next images when browsing a gallery ?
In general, a user want to browse photo gallery quickly( Facebook like ).
I was thinking of GET the next X pictures, i.e: if we start with the first picture of the gallery, the browser would GET the next X ones ( configurable ) whilst viewing an image. The browser would consequently having these images in his cache.

Any suggestion?

Many thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-05-13 13:43

A module could be developed to add meta next and previous tags:
http://googlewebmastercentral.blogspot.ca/2011/09/pagination-with-relnext-and-relprev.html
If you prefetch the next image then the image count is incorrect. Prefetching can throw off website statistics as the user doesn't technically visit a given page.
There is other methods I guess as well:
http://davidwalsh.name/html5-prefetch

_____________________________________________
Blog & G2 || floridave - Gallery Team