lib/Skeleton/Core/Web/Media.php
private static function output($extension, $content, $mtime) {
		// Send the Etag before potentially replying with 304
		header('Etag: ' . crc32($mtime) . '-' . sha1($content));

		self::cache($mtime);
		header('Content-Type: ' . self::get_mime_type($extension));

		echo $content;
		exit();
	}
private static function output($extension, $content, $mtime) {
		// Send the Etag before potentially replying with 304
		header('Etag: ' . crc32($mtime) . '-' . sha1($content));

		self::cache($mtime);
		header('Content-Type: ' . self::get_mime_type($extension));

		echo $content;
		exit();
	}
private static function output ( $ extension , $ content , $ mtime ) { // Send the Etag before potentially replying with 304 header ( 'Etag: ' . crc32 ( $ mtime ) . '-' . sha1 ( $ content ) ) ; self :: cache ( $ mtime ) ; header ( 'Content-Type: ' . self :: get_mime_type ( $ extension ) ) ; echo $ content ; exit ( ) ; }
Ouput the content of the file and cache it

@param string $path
@param string $extension
@access private
Ouput the content of the file and cache it