cache_scss

SCSS Cache Class provided by System for compiling and caching SCSS in the Database.

package

SYSTEM\CACHE

Methods

Get Data from Cache

get(\SYSTEM\CACHE\sha1 $file, boolean $header = false) : mixed
static

Arguments

$file

\SYSTEM\CACHE\sha1

Filepath for the cached Content

$header

boolean

Send Header

Response

mixed

Returns the requested Cache Content or NULL

Calculate Ident for a File

ident(string $file) : \SYSTEM\CACHE\sha1
static

Arguments

$file

string

Filepath to be cached

Response

\SYSTEM\CACHE\sha1

Returns the requested Ident

Put Data into the Cache

put(\SYSTEM\CACHE\sha1 $file, integer $data) : mixed
static

Arguments

$file

\SYSTEM\CACHE\sha1

Filepath of the Content

$data

integer

Data to cache

Response

mixed

Returns the cached Cache Content or NULL

Calculate URL for a File

url(array $file) : \SYSTEM\CACHE\url
static

Arguments

$file

array

Filepath to be cached

Response

\SYSTEM\CACHE\url

Returns the requested Cache-URL

Constants

int Cache ID for SCSS cache

CACHE_SCSS