Skip to content

Commit c55ae98

Browse files
kesselbCarlSchwan
andauthored
Add description for public and immutable
Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Daniel <mail@danielkesselberg.de>
1 parent 855ef21 commit c55ae98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/public/AppFramework/Http/Response.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ public function __construct() {
107107
* Caches the response
108108
*
109109
* @param int $cacheSeconds amount of seconds the response is fresh, 0 to disable cache.
110-
* @param bool $public
111-
* @param bool $immutable
110+
* @param bool $public whether the page should be cached by public proxy. Usually should be false, unless this is a static resources.
111+
* @param bool $immutable whether browser should treat the resource as immutable and not ask the server for each page load if the resource changed.
112112
* @return $this
113113
* @since 6.0.0 - return value was added in 7.0.0
114114
*/

0 commit comments

Comments
 (0)