HttpResponse::setCacheControl Set cache control &reftitle.description; static boolHttpResponse::setCacheControl stringcontrol intmax_age0 boolmust_revalidatetrue Define a custom Cache-Control header, usually being private or public; &reftitle.parameters; control the primary cache control setting max_age the max-age in seconds, suggesting how long the cache entry is valid on the client side must_revalidate whether the cached entity should be revalidated by the client for every request &reftitle.returnvalues; Returns &true; on success, or &false; if control does not match one of public, private or no-cache. &reftitle.seealso; HttpResponse::getCacheControl HttpResponse::setCache HttpResponse::getCache