Home  >  Article  >  Backend Development  >  javascript - Why do many websites wait a few seconds before automatically downloading resources? What is the reason?

javascript - Why do many websites wait a few seconds before automatically downloading resources? What is the reason?

WBOY
WBOYOriginal
2016-08-04 09:19:02931browse

javascript - Why do many websites wait a few seconds before automatically downloading resources? What is the reason?
As shown in the picture, many websites have N seconds of waiting time before automatically downloading resources. I would like to know what considerations this is based on.

Possible answers collected so far:

  • One saves disk IO, two advertisements, three anti-crawlers, four fraud pv

  • Anti-hotlinking and anti-swiping

Please explain in detail. .

Reply content:

javascript - Why do many websites wait a few seconds before automatically downloading resources? What is the reason?
As shown in the picture, many websites have N seconds of waiting time before automatically downloading resources. I would like to know what considerations this is based on.

Possible answers collected so far:

  • One saves disk IO, two advertisements, three anti-crawlers, four fraud pv

  • Anti-hotlinking and anti-swiping

Please explain in detail. .

1. Advertising. Increasing the dwell time means that users have more opportunities to see and click on ads that interest them, and then have higher income;
2. Recommendation. Relevant downloads can be recommended immediately. Some people close the website directly after downloading things. They will not see the relevant download information and will not get more views;
3. Announcement. It is convenient to add some prompt text, such as donation information in your screenshot;
4. Terms. When we download, we usually involve relevant terms (disclaimer). If it is placed on the download page, no one will notice it, but if it is placed here, many disputes can be settled;
5. Buffering. Buffer the server to find resources. Once the countdown is completed, it will be enough to start downloading. There is no need to wait for a blank page;
6. To be added.

Newbie, please like. I like the atmosphere of this website very much, but if I don’t have 15 points, I can’t like other people’s excellent answers. Thank you

1. Prevent accidental downloading. What if someone accidentally clicks on it? It’s not very friendly to start downloading immediately

2. The most important thing is the various embedded things that allow you to browse this page, such as advertisements, etc.

1. For advertising and marketing purposes
2. To facilitate the backend to find better download routes

1. Prevent resource waste
2. Buffer server
3. Give users choice

Personally, I think downloaders should be given a chance to buffer, and there is still a choice between whether to download.
During the countdown process, he can also choose to give up downloading to reduce his data consumption, etc.

Let me take a guess. The first is to prevent DDOS, the second is to allow you to watch ads for a while, and the third is to prevent crawlers to a certain extent.

For entertainment purposes only.

It is also possible that the download volume of the resource is relatively large, so as to avoid requesting too large a download volume at the same time

Maybe this is just to create an effect, wait a few seconds, and those who don’t understand think that the background is packaging and processing, but in fact this is implemented by js. Similar to an ATM cash machine, when you withdraw 100, you will hear the sound of a lot of money being counted inside. In fact, it is just a sound effect, creating an effect.

1 Prevent hot links
2 Have own business logic processing
3 User experience

Mainly to increase stickiness

Another point I think is to prevent others from malicious repeated clicks and unlimited requests...
Someone clicked once, and when I saw the countdown, I felt that I was not in the mood to click a second time

In addition to some of the technical advantages described above, it will also have many impacts from the perspective of psychology and design;

A very simple example, some surmountable difficulties can help psychologically improve user stickiness, similar to the suspension bridge effect, including: purchasing user groups, download waiting and delays, and equivalent exchange of points and functions (15 points is required) Likes count (2333), and leave "special" memories for users.

Verification:
1: Which one do you think is easier to get into your favorites, a very common website or a threshold registration website that can be quickly logged in through QQ?
2: You should still remember the complicated emotions of purchasing the XXX network user group.
3: In order to like his answer for 15 points, you can’t help but click on the topic "How to get points"...
4:...

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn