[英]HTML :: How to improve performance of loading images on the web page
I have a web page which loads almost 70-80 images on the web page. 我有一个网页,在网页上加载了近70-80张图像。 I already have implemented lazy loading.
我已经实现了延迟加载。 Should I keep these images on local server or on some image site like picasa and reference it from there ?
我应该将这些图像保存在本地服务器上还是像picasa这样的图像网站上并从那里引用它? or is there any better option ?
还是有更好的选择吗? What would be the best way to load these many images without loosing performance and efficiency ?
在不降低性能和效率的情况下加载这些图像的最佳方法是什么?
Please suggest. 请建议。
One more question - is it good idea to add css animation effect to those images ? 还有一个问题 - 为这些图像添加css动画效果是个好主意吗?
There are a number of things you can do. 你可以做很多事情。
You can get some advice on using Sprites here: http://css-tricks.com/css-sprites/ 您可以在此处获得有关使用Sprite的一些建议: http : //css-tricks.com/css-sprites/
You can also get some more info on page loading times, and things you can do to optimise by using GTMetrix tools at http://gtmetrix.com/ 您还可以获取有关页面加载时间的更多信息,以及可以通过http://gtmetrix.com/上的 GTMetrix工具进行优化的信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.