Add description for public and immutable

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Daniel <mail@danielkesselberg.de>
pull/33889/head
Daniel 4 years ago committed by GitHub
parent 855ef21883
commit c55ae98a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/public/AppFramework/Http/Response.php

@ -107,8 +107,8 @@ class Response {
* Caches the response
*
* @param int $cacheSeconds amount of seconds the response is fresh, 0 to disable cache.
* @param bool $public
* @param bool $immutable
* @param bool $public whether the page should be cached by public proxy. Usually should be false, unless this is a static resources.
* @param bool $immutable whether browser should treat the resource as immutable and not ask the server for each page load if the resource changed.
* @return $this
* @since 6.0.0 - return value was added in 7.0.0
*/

Loading…
Cancel
Save