public function setNotCachingHeaders()
    {
        ResponseHeaders::add(ResponseHeaders::HEADER_CACHE_CONTROL, ResponseHeaders::HEADER_CACHE_CONTROL_CONTENT_NO_STORE_NO_CACHE_MUST_REVALIDATE_MAX_AGE_0);
        ResponseHeaders::add(ResponseHeaders::HEADER_PRAGMA, ResponseHeaders::HEADER_PRAGMA_CONTENT_NO_CACHE);
    }
public function setNotCachingHeaders()
    {
        ResponseHeaders::add(ResponseHeaders::HEADER_CACHE_CONTROL, ResponseHeaders::HEADER_CACHE_CONTROL_CONTENT_NO_STORE_NO_CACHE_MUST_REVALIDATE_MAX_AGE_0);
        ResponseHeaders::add(ResponseHeaders::HEADER_PRAGMA, ResponseHeaders::HEADER_PRAGMA_CONTENT_NO_CACHE);
    }
public function setNotCachingHeaders ( ) { ResponseHeaders :: add ( ResponseHeaders :: HEADER_CACHE_CONTROL , ResponseHeaders :: HEADER_CACHE_CONTROL_CONTENT_NO_STORE_NO_CACHE_MUST_REVALIDATE_MAX_AGE_0 ) ; ResponseHeaders :: add ( ResponseHeaders :: HEADER_PRAGMA , ResponseHeaders :: HEADER_PRAGMA_CONTENT_NO_CACHE ) ; }
Set non caching
@throws \Exception
Set non caching