src/Session.php
private function addHeaders()
    {
        self::response()->addHeader('Cache-Control', 'no-cache, no-store, must-revalidate'); // HTTP 1.1
        self::response()->addHeader('Pragma', 'no-cache'); // HTTP 1.0
        self::response()->addHeader('Expires', '-1'); // Proxies
    }
private function addHeaders()
    {
        self::response()->addHeader('Cache-Control', 'no-cache, no-store, must-revalidate'); // HTTP 1.1
        self::response()->addHeader('Pragma', 'no-cache'); // HTTP 1.0
        self::response()->addHeader('Expires', '-1'); // Proxies
    }
private function addHeaders ( ) { self :: response ( ) -> addHeader ( 'Cache-Control' , 'no-cache, no-store, must-revalidate' ) ; // HTTP 1.1 self :: response ( ) -> addHeader ( 'Pragma' , 'no-cache' ) ; // HTTP 1.0 self :: response ( ) -> addHeader ( 'Expires' , '-1' ) ; // Proxies }
add expiration headers to avoid caching.
add expiration headers to avoid caching .