Fix HTTP entity caching