3 ms·
You should optimize images as well as removing unnecessary JS libraries. The point is to not send data the user doesn't need. It doesn't matter if you're using
by onion2k 7y ago
You should optimize images as well as removing unnecessary JS libraries.
The point is to not send data the user doesn't need. It doesn't matter if you're using 50MB of images, fonts, video, etc in a page... Adding an extra 30kb you don't need is not good for the user. So don't.
(Also don't stick 50MB of assets in a page please.)
- goto11 7y agoSince the jQuery API is more concise than the standard API, you probably save bytes anyway. And if you use a CDN, jQuery will likely already be cached, so it will perform a lot better than writing your own code to present a similar abstraction layer.