开发者

Recommended file sizes for web

I am doing a web performance optimization using YSlow and Page Speed recomendations but when it comes to file sizes neither says anything about it.

Does anybody knows where I can get some recomendation of the max size of some file types?? For example images shouldn't be greater than XXX KB or something like that. B开发者_运维知识库ut i need reliable sources not just suggestions. I mean XXX did some research and they recommend this or that.


I never stumble on any recommendations rather than common sense. A lot of small size files create a chatter, big files slow you down and can time-out. It really is what performance tuning is for - run your tests for your particular setup, there's no magic bullet


When I first did web development (1998) Australia our recommended limit for the entire page size (including images) was 40 kB (who was that laughing?).

The scary thing is that for accessability, we still have to worry about dial-up users and so try to keep to this if we can (exploiting client side caching where possible).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜