HttpResponse::setCacheControl cache control を設定する &reftitle.description; static boolHttpResponse::setCacheControl stringcontrol intmax_age0 boolmust_revalidatetrue Cache-Control ヘッダを定義します。 通常は private または public です。 &reftitle.parameters; control キャッシュコントロール設定。 max_age max-age の秒数。これは、クライアント側での キャッシュエントリの有効期限を表します。 must_revalidate クライアント側でのキャッシュエントリの再検証を、 リクエストのたびに行うかどうかを指定します。 &reftitle.returnvalues; 成功した場合に &true;、control が publicprivate あるいは no-cache のいずれかでない場合に &false; を返します。 &reftitle.seealso; HttpResponse::getCacheControl HttpResponse::setCache HttpResponse::getCache