1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00
phorge-phorge/src
epriestley 005d194cd2 Automatically inline small images using data URIs
Summary: 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).

Test Plan: Loaded site, browsed around, looked at generated CSS.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T3300

Differential Revision: https://secure.phabricator.com/D8225
2014-02-13 17:39:47 -08:00
..
aphront Write a very basic string extractor 2014-02-05 11:02:41 -08:00
applications Merge Differential comment migration to ApplicationTransactions 2014-02-13 17:04:53 -08:00
docs Add styles for WARNING and IMPORTANT 2014-01-23 17:35:30 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Automatically inline small images using data URIs 2014-02-13 17:39:47 -08:00
view PHUITimelineView 2014-02-12 09:02:05 -08:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Use timeline view in Differential and make inlines somewhat usable again 2014-02-13 15:00:29 -08:00