


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:
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:...

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

What’s still popular is the ease of use, flexibility and a strong ecosystem. 1) Ease of use and simple syntax make it the first choice for beginners. 2) Closely integrated with web development, excellent interaction with HTTP requests and database. 3) The huge ecosystem provides a wealth of tools and libraries. 4) Active community and open source nature adapts them to new needs and technology trends.

Golang is better than Python in terms of performance and scalability. 1) Golang's compilation-type characteristics and efficient concurrency model make it perform well in high concurrency scenarios. 2) Python, as an interpreted language, executes slowly, but can optimize performance through tools such as Cython.

Python is easier to learn and use, while C is more powerful but complex. 1. Python syntax is concise and suitable for beginners. Dynamic typing and automatic memory management make it easy to use, but may cause runtime errors. 2.C provides low-level control and advanced features, suitable for high-performance applications, but has a high learning threshold and requires manual memory and type safety management.

HTML, CSS and JavaScript are the core technologies for building modern web pages: 1. HTML defines the web page structure, 2. CSS is responsible for the appearance of the web page, 3. JavaScript provides web page dynamics and interactivity, and they work together to create a website with a good user experience.

Using HTML to render components and data in React can be achieved through the following steps: Using JSX syntax: React uses JSX syntax to embed HTML structures into JavaScript code, and operates the DOM after compilation. Components are combined with HTML: React components pass data through props and dynamically generate HTML content, such as. Data flow management: React's data flow is one-way, passed from the parent component to the child component, ensuring that the data flow is controllable, such as App components passing name to Greeting. Basic usage example: Use map function to render a list, you need to add a key attribute, such as rendering a fruit list. Advanced usage example: Use the useState hook to manage state and implement dynamics

IIS and PHP are compatible and are implemented through FastCGI. 1.IIS forwards the .php file request to the FastCGI module through the configuration file. 2. The FastCGI module starts the PHP process to process requests to improve performance and stability. 3. In actual applications, you need to pay attention to configuration details, error debugging and performance optimization.

Golangisidealforbuildingscalablesystemsduetoitsefficiencyandconcurrency,whilePythonexcelsinquickscriptinganddataanalysisduetoitssimplicityandvastecosystem.Golang'sdesignencouragesclean,readablecodeanditsgoroutinesenableefficientconcurrentoperations,t
