src/Core/Cache.php
public static function set($cacheloc, $cachekey, $cacheval, $expiresec=false)
    {
        $cacheloc = "cache_" . $cacheloc;
        if ( $cacheval === null || $cacheval === false ) {
            unset($_SESSION[$cacheloc]);
            return;
        }
        if ( $expiresec !== false ) $expiresec = time() + $expiresec;
        $_SESSION[$cacheloc] = array($cachekey, $cacheval, $expiresec);
    }
public static function set($cacheloc, $cachekey, $cacheval, $expiresec=false)
    {
        $cacheloc = "cache_" . $cacheloc;
        if ( $cacheval === null || $cacheval === false ) {
            unset($_SESSION[$cacheloc]);
            return;
        }
        if ( $expiresec !== false ) $expiresec = time() + $expiresec;
        $_SESSION[$cacheloc] = array($cachekey, $cacheval, $expiresec);
    }
public static function set ( $ cacheloc , $ cachekey , $ cacheval , $ expiresec = false ) { $ cacheloc = "cache_" . $ cacheloc ; if ( $ cacheval === null || $ cacheval === false ) { unset ( $ _SESSION [ $ cacheloc ] ) ; return ; } if ( $ expiresec !== false ) $ expiresec = time ( ) + $ expiresec ; $ _SESSION [ $ cacheloc ] = array ( $ cachekey , $ cacheval , $ expiresec ) ; }
Place an entry in the cache.

We don't cache null or false if that was our value.
Place an entry in the cache .