Reducing the number of HEAD requests.

Optimization of getting current etag using memcache.