Get cache headers from config