Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 18... Línea 18...
18
 *
18
 *
19
 * @see https://tools.ietf.org/html/rfc7234
19
 * @see https://tools.ietf.org/html/rfc7234
20
 */
20
 */
21
class PublicCacheStrategy extends PrivateCacheStrategy
21
class PublicCacheStrategy extends PrivateCacheStrategy
22
{
22
{
23
    public function __construct(CacheStorageInterface $cache = null)
23
    public function __construct(?CacheStorageInterface $cache = null)
24
    {
24
    {
25
        parent::__construct($cache);
25
        parent::__construct($cache);
Línea 26... Línea 26...
26
 
26
 
27
        array_unshift($this->ageKey, 's-maxage');
27
        array_unshift($this->ageKey, 's-maxage');