#3412 closed Enhancement (wontfix)
Use data uris for sprites
| Reported by: | ewinslow | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Needs Review |
| Component: | Core | Version: | Github Master |
| Severity: | minor | Keywords: | performance |
| Cc: | brett@… | Difficulty: | trivial |
Description
http://css-tricks.com/data-uris/
We can base-64 encode it on the fly like Coyier recommends to keep maintenance simple.
Just have to add fallbacks to the ie-specific stylesheets.
Change History (3)
comment:1 Changed 2 years ago by brettp
comment:2 Changed 2 years ago by cash
- Resolution set to wontfix
- Status changed from new to closed
Agree with Brett. It saves one http request on first load in exchange for bloating the css file. I can also imagine the question we'll get in the forums.
comment:3 Changed 2 years ago by ewinslow
lol @ questions in forums. I hear you on that one. I guess we're not pushing *that* hard for performance gains... Guess this means the other ticket is a no go as well.
Note: See
TracTickets for help on using
tickets.

This is neat, but I dislike the approach and can only imagine very marginal increases in performance. With client side caching, it will only save extra HTTP requests on the first load. It feels very hacky.