Fixes T3300. Images under 32KB are inlined automatically into CSS using data URIs; larger images remain as normal links. I picked the 32KB threshold arbitrarily, based on it looking roughly like it got reasonable results on core.pkg.css (inlining most of the random stuff, but not inlining all the 2X sprites and such).
Details
Details
- Reviewers
btrahan chad - Maniphest Tasks
- Restricted Maniphest Task
- Commits
- Restricted Diffusion Commit
rP005d194cd28d: Automatically inline small images using data URIs
Loaded site, browsed around, looked at generated CSS.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- datauri
- Lint
Lint Passed - Unit
Tests Passed
Event Timeline
Comment Actions
Helpfully, I'd already done some research in T3300 and discovered a 32KB limit in IE8, so this limit is now "a hard limit imposed by IE8" instead of "an arbitrary limit I made up".