toddmotto / echo

Lazy-loading images with data-* attributes

Home Page:http://toddmotto.com/labs/echo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What about when the image has been cached by the browser?

antonio-delvalle opened this issue · comments

What about when the image has been cached by the browser? Will it bypass this and fetch it again from the server?

commented

The Firefox web developer tools (network tab) shows the response status code of all requests. If I load the site with empty caches I get status 200 (OK). If I reload the page, without clearing cache, I get 304 (Not Modified). So it seems browser caching is still working.

Sweet, thanks @osopolar for testing. Closing off.