Optimization for thumbnail load (using 304 http response)