Caching image sizes in search page