http check whether cache should be updated