protected function serveFromCache($cacheFile, $hit = true)
    {
        /**
         * Cache object exists, set the appropriate headers and return the
         * contents of the file.
         **/

        $_stats = stat($this->cacheDir . $cacheFile);

        //  Set cache headers
        $this->setCacheHeaders($_stats[9], $cacheFile, $hit);

        header('Content-Type: image/png', true);

        // --------------------------------------------------------------------------

        //  Send the contents of the file to the browser
        echo file_get_contents($this->cacheDir . $cacheFile);

        /**
         * Kill script, th, th, that's all folks.
         * Stop the output class from hijacking our headers and
         * setting an incorrect Content-Type
         **/

        exit(0);
    }