src/Beluga/Web/Http/Header.php
public static function SendCacheControl( bool $doCache = false, bool $mustRevalidate = true )
   {

      \header(
         'Cache-Control: '
            . ( $doCache ? 'cache' : 'no-cache' )
            . ( $mustRevalidate ? ', must-revalidate' : '' )
      );

   }
public static function SendCacheControl( bool $doCache = false, bool $mustRevalidate = true )
   {

      \header(
         'Cache-Control: '
            . ( $doCache ? 'cache' : 'no-cache' )
            . ( $mustRevalidate ? ', must-revalidate' : '' )
      );

   }
public static function SendCacheControl ( bool $ doCache = false , bool $ mustRevalidate = true ) { \ header ( 'Cache-Control: ' . ( $ doCache ? 'cache' : 'no-cache' ) . ( $ mustRevalidate ? ', must-revalidate' : '' ) ) ; }
Sends a "Cache-Control" HTTP header.

@param boolean $doCache        Use caching?
@param boolean $mustRevalidate Should be checked on each request, if a used cache is valid?
Sends a Cache - Control HTTP header .