Large Flow Solution

Source: Internet
Author: User

1, to prevent our site resources are hotlinking.

Can use some non-technical means to prevent being hotlinking, add watermark on the picture

2, reduce the HTTP request,

The main means is to merge JS files, CSS files, background image files. The browser needs the style file or JS file, combined into a style file or JS file. For example, a background image.

The specific code:

3. Enable compression,

Reduce the amount of data transferred, the common compression format is: Gzip,deflate.

Principle:

4. Cache the contents of the data through the browser.

In the site there are some resources, such as JS files, CSS files, some picture files, update the frequency is relatively small. Set the cache by setting the Cache-control expires property of HTTP, you can set the cached file type, set the cache cache period,

5, can be compared to occupy some of the traffic resources, a separate server,

Server, video server, and more.

Note: The configuration of the resource server:

Server that stores resources: the main requirement is the capacity of the hard disk, read and write speed.

You can build a disk array.

Raid0

Raid1

Storage technology for disk arrays:

Distributed storage: At least two hard drives

Copy storage: At least two hard drives

6, spend money to buy bandwidth.

Large Flow Solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.