As a web front-end people will think how to improve the Web front-end development capabilities, then how can we improve their skills? Today, the Beijing website was built to talk about 5 tips for improving web development features.
1. Use a reverse proxy server (Reverse proxies) to speed up and maintain the application
The effect is mainly in the following three aspects:
1) Load Balancing – the load balancer running on the reverse proxy server balances the transfer between different servers. Through it, you can make non-differentiated server additions.
2) Save static files – for direct file pleading, examples like files or code files that can be stored directly on the reverse proxy server and then sent directly to the user, then can be quickly visited and the use of the server to offload to make the program function progress.
3) Safe Maintenance – The reverse proxy server can be equipped with high security and identify and monitor the threat.
2. Add a Load Balancer
Adding a Load balancer to your website is a relatively brief change, but it can bring good functionality and security improvements. The effect of a load balancer is to transfer distribution between servers in a different way.
The load balancer's execution condition is that there is a reverse proxy server that sends requests to other servers after receiving Internet traffic. The beauty of a balancer is that it supports two or more server applications and uses selection algorithms to cut the server's entreaties.
3. Caching static and dynamic content
The use of caching skills allows content to be presented to users more quickly, with strategies for processing content faster when demand is announced, hosting content on a faster device, or bringing content closer to the user.
4. Data tightening
The crunch skill is an infinite potential function of the speed picker. Its primary effect is on images, video, or audio files that can be processed efficiently and in a compact form.
5. Optimizing SSL/TLS visits
Although SSL/TLS is becoming more prevalent, its impact on functionality should also be emphasized. Its impact on the function of the first performance in two areas:
Whenever the new connection is open, the initial handshake is unavoidable, that is, every time the browser needs to use http/1.x to establish a server connection.
The encrypted data that is stored on the server becomes larger, and is decoded when the user reads it after encryption.
So how to deal with it?
Session caching-use Ssl_session_cache to directly cache parameters that establish new SSL/TLS convergence
Session ID-/ID the identity of the specified SSL/TLS, but to establish a new connection, you can take it directly, and then avoid the tedious communication from the beginning.
OCSP stapling optimization-captures SSL/TLS authentication information to reduce the time to establish communication.
He Yu Software Professional website development, Web development, small program development, enterprise system building
Http://www.jkforu.com/736.html
5 Tips for Improving web development performance