How to prevent http webpage content from being captured in batches

Source: Internet
Author: User
I now have a website where some important content is captured in batches by other places and my content can be updated in real time. sometimes, the update speed is faster than loading and displaying normal pages. how can this problem be solved. PS: The content is mainly text and a small number of images, and the background is written in PHP. now I have a website where some important content is crawled in batches by other places.
In addition, I can update my content in real time. sometimes the update speed is faster than that of my normal page loading and display.
How can this problem be solved.
PS: The content is mainly text and a small number of images, which are written in PHP in the background

Reply content:

I now have a website where some important content is captured in batches by other places.
In addition, I can update my content in real time. sometimes the update speed is faster than that of my normal page loading and display.
How can this problem be solved.
PS: The content is mainly text and a small number of images, which are written in PHP in the background

Try nginx:
1. the ngx_http_limit_conn_module can be used to limit the number of connections of a single IP address.
Http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html
2. the ngx_http_limit_req_module can be used to limit the number of requests from a single IP address per second.
Http://nginx.org/en/docs/http/ngx_http_limit_req_module.html
3. nginx_limit_speed_module can be used to speed up IP addresses
Https://github.com/yaoweibin/nginx_limit_speed_module

Or use Nginx fail2ban module: http://www.fail2ban.org/wiki/index.php/Main_Page

In addition to the above, you can also use image/URL anti-Leech protection.

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.