Variables

TIDEngine CSS Cache Settings

Variables

 $optimize_css = true
 $optimize_css_gz = true
 $compact_css = true
 $css_file_name = 'master'
 $css_ext = '.css'

Detailed Description

TIDEngine different CSS Cache Settings.

Your Pages performance depends from this settings. We recomend to use Default settings for best results.

But anyway you could make experiments and adjust by your needs. This settings are applied just to CSS Cache files.


Variable Documentation

$optimize_css = true [inherited]

Use CSS optimization. Clean CSS files and put all code in one line - size reduction.

Todo:
add CSStidy support
Parameters:
bool$optimize_css

Definition at line 249 of file TIDEngine.php.

bool $optimize_css_gz = true [inherited]

Use gzip compression on CSS Cache files. File size reduction.

Definition at line 256 of file TIDEngine.php.

$compact_css = true [inherited]

Combine all CSS files in one unique file. CoReduces the number of HTTP requests.

Parameters:
bool$compact_css

Definition at line 263 of file TIDEngine.php.

$css_file_name = 'master' [inherited]

Set file name for combined file. If we combine all CSS files combined CSS file name.

Todo:
  • CSS Files versioning if we need it.
Parameters:
bool$css_file_name

Definition at line 271 of file TIDEngine.php.

$css_ext = '.css' [inherited]

Set default CSS extension. Look sily but we need that for Safari gzip bug. Safari acceprt default extension for gzipped files in format .css.gz or .css.gz.css*

Parameters:
string$css_ext

Definition at line 279 of file TIDEngine.php.