My girl friend doesn’t like the theater mode in facebook, so I write a small tool for her. um~ Actually, I like it. Then I found this technology is very excellent! Base on the official published :
Finally, to make loading as fast as possible, we attached to every thumbnail an HTML5 data attribute containing the source URL of its full-sized version. This way, when you click a thumbnail we can pull that URL from the data attribute and immediately show you the first image without having to make an AJAX call, dropping the average load time for the Photo Viewer to under half a second.
It means they change the url without AJAX call? I feel so strange. I will check it out .
Cheers