Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

CSS optimiser: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(templates, see also)
 
m (removing new features template)
 
(3 revisions intermèdies per 2 usuaris que no es mostren)
Línia 1: Línia 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.
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==


* MDL-29941
* MDL-29941 CSS optimiser
 
* MDL-33596 Themes should be given the option to not be optimised by the CSS optimiser is enabled
{{stub}}

Revisió de 16:08, 6 nov 2012

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

  • MDL-29941 CSS optimiser
  • MDL-33596 Themes should be given the option to not be optimised by the CSS optimiser is enabled