It's better when it's simple

User Tools

Site Tools


Configuration Setting: cssdatauri

This option accepts a filesize in bytes. All images referenced in the CSS stylesheets that are smaller than the set size will be embedded directly into the CSS. This makes the CSS larger, but saves the browser from having to make a lot of HTTP requests for tiny images and thus reduces the HTTP header overhead. Setting the option to 0 disables the feature.

Please note that some very old Browsers (Internet Explorer < 8) will not be able to understand this and images will be missing.

  • Type: Number
  • Default: 512 since “Elenor of Tsort” (before: 0)

See also

config/cssdatauri.txt · Last modified: 2016-09-26 00:34 by ach

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki