Re:I am a fast webpage
by 33degrees on Wednesday September 07, 2016 @06:47PM
(#12448636)
You can, however, embed images in CSS, which gives you both reduced requests and caching.
[ Parent
| on HN ]
Unless you inline the CSS ;-)
This seems like it should work, but have you ever tried it? Or, can you point me to some results of a test to show that it indeed caches the image embedded in the CSS?
Re:I am a fast webpage
by paulddraper on Wednesday September 07, 2016 @09:23PM
(#12449500)
If it's inline, then it's cached with whatever it's inlined into.
The problem is that now it's going to be sent with every request. So it'll make the first page faster for the initial request, but slower in the long run.