Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: CSS optimiser.

CSS optimiser: Difference between revisions

From MoodleDocs
(updated to show its experimental.)
Line 1: Line 1:
{{Themes}}
{{Themes}}
{{New features}}A CSS optimiser may be enabled by an admin in ''Settings > Site administration > Advanced features''. The tool analyses and refactors CSS before caching it.
{{New features}}  
A CSS optimiser may be enabled by an admin in ''Settings > Site administration > Development > Experimental > Experimental settings''. The tool analyses and refactors CSS before caching it.


When enabled CSS will be run through an optimisation process before being cached. The optimiser processes the CSS removing duplicate rules and styles, as well as white space removable and reformatting. Please note turning this on at the same time as theme designer mode is awful for performance but will help theme designers create optimised CSS.
==See also==
==See also==



Revision as of 03:49, 24 July 2012

New feature
in Moodle 2.5!

A CSS optimiser may be enabled by an admin in Settings > Site administration > Development > Experimental > Experimental settings. The tool analyses and refactors CSS before caching it.

When enabled CSS will be run through an optimisation process before being cached. The optimiser processes the CSS removing duplicate rules and styles, as well as white space removable and reformatting. Please note turning this on at the same time as theme designer mode is awful for performance but will help theme designers create optimised CSS.

See also