Fixed bug with cache header