I was wondering today, if Google gears (or any other local storage
system) could be used to improve the speed of certain types of pages,
e.g. website galleries..

What i had in mind is this;
- When the user opens a gallery, an xmlhttp request is made that
fetches the gallery contents.
- When the user goes to page 2 of the gallery, the gallery checks (by
xmlhttp) to see if the contents of the gallery was changed in one way
or another (checksum or something like that). Only when the gallery
has changed, a new call is made to the gallery to get the latest
version, otherwise the javascript rebuilds the gallery.

You don't have to use Offline Storage for this, but it could be cool
for repeating visitors...

Could this work?

Reply via email to