yangsirgo / bigwebmake Goto Github PK
View Code? Open in Web Editor NEWcss揭秘 读书笔记
css揭秘 读书笔记
1.为啥减少http请求,会有效提升页面响应速度?
服务端一般都是单线程(除非刻意写了是多线程),多个http请求会排队执行,所以会更耗时。??? 说明不充分!
原文是:http协议是无状态的应用层协议,每次http请求需要建立通讯链路,建立数据传输,在服务端,每个http请求都会开启独立线程处理请求。这里面包括了通讯和服务的开销,很昂贵,所以减少http请求会有效提高访问性能。
2.css放在页面最上面,javascript 放在页面底部。
页面加载javascript 文件后会立即执行js文件,会占用浏览器线程,有可能页面渲染进程。
css html文件是展现页面必须,加载完成css会快速的使页面展现。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.