.a.shifen.com.So summing up is① native to local DNS request www.baidu.com②local DNS requests www.baidu.com to the root domain, the root domain returns COM. domain server IP③ to COM. domain request www.baidu.com,com. Domain returns the server IP of the baidu.com domain④ requests www.baidu.com to Baidu.com, returns the server IP of the CNAME www.a.shifen.com and a.shifen.com domains⑤ request www.a.shifen.com to the root domain⑥ to COM. domain Request www.a.shife.com⑦ Request to Shifen.com⑧ Request
A wall on the ancient road, some open-source Dongdong uses the ancient road CDN, such as predictional and opserver, which leads to slow or unusable services.
Must be replaced
Predictional only needs to replace the page with response. filter, because you have to regularly merge the pages to maintain versions.
Internal class responsestream: memorystream {# region ctor private stream output {Get; set;} public httpcontextbase context {Get; set ;} ///
The
HTTP and add a space. The written content is shown in.5) press Ctrl + F and enter http_access deny connect. Press enter to find the content. After ssl_ports, press enter to add two blank lines. For more information, see.6) Find the # cache_mem 8 Mb sentence and delete the previous # number to change the default 8 to the required size. The value here depends on the available memory of the specific machine, the maximum size should be set as much as possible to improve the performance of the proxy
Chapter 2 set the DNS of a domain name
Let's warm up first before the beginning.Intelligent DNS is the foundation of CDN. I believe that there will always be two links on the home page. For telecom users, visit Main Site A and for Netcom users, visit image site B. Then there are two domain names. www.naizhao.com points to A and cnc.naizhao.com points to B. After reading it for a long time, the user felt dizzy and casually clicked it in. He found that
How to use the AWS CloudFront for CDN1. Create a new distribution in AWS CloudFront service, select alternative domain names2. Create a new subdomain, and point the new subdomain CNAME to the xxxxxxxx.cloundfront.net you just got from the service .3. Do the original setting for, tell the service where it can get content, the original website can in EC2 or just any web Site that is out side of AWS.4. Setting cache behaviors, tell the service what kind of objects can is cached, what kind's things
Tags: HTTP ar SP file problems bs html amp ef
Although there are many similar servers at home and abroad, such as the initial Google Ajax API, and later SAE and Baidu, there are also different drawbacks, for example, slow access in China and incomplete static files provided... Staticfile is expected to solve this problem.
Access http://staticfile.org/Brief Introduction:
This repository is updated and maintained by sofish, hfcorriez, and ikbear. qiniu cloud storage provides storage and acceler
Use static resource libraries to access online resource files, such as jquery libraries, bootstrap libraries. Use Baidu static resource pool majority, but found that Baidu temporarily does not support HTTPS protocol, BOOTCDN is a good choice. Baidu static resource public Library Advantages: Stable, fastBy Baidu across the country 100+ a CDN node to provide accelerated service.Let open source Library to enjoy with Baidu home static resources equal trea
The login page is more concise! Registration is still relatively simple, just a lot of introduction, the following screenshot of the registration page, you can take a look!Node LocationGlobal nodes: all nodes use Europe and America nodes: only nodes
Asp function code:Copy codeThe Code is as follows:Function checkip (checkstring) 'uses regular expressions to determine whether the IP address is valid.Dim re1Set re1 = new RegExpRe1.pattern = "^ [0-9] {1, 3 }. [0-9] {1, 3 }. [0-9] {1, 3 }. [0-9] {1,
ASP function Code:
Copy CodeThe code is as follows:
function Checkip (checkstring) ' use regular to determine whether IP is legitimate
Dim Re1
Set Re1=new REGEXP
Re1.pattern= "^[0-9]{1,3}. [0-9] {1,3}. [0-9] {1,3}. [0-9] {1,3}$
Asp function code:
Copy codeThe Code is as follows: function checkip (checkstring) 'uses regular expressions to determine whether the IP address is valid.
Dim re1
Set re1 = new RegExp
Re1.pattern = "^ [0-9] {1, 3 }. [0-9] {1, 3 }. [0-9] {1, 3 }. [0-9
This article mainly introduces how to convert the code from GBKGB2312 to UTF-8 (full-site modification ), if you need it, refer to the next article, which describes how to convert GBK/GB2312 to UTF-8 encoding (full-site modification). If you need it,
How can I use Nginx wildcard domain name resolution + reverse proxy + static resource cache?1. Install nginx. Do not repeat the installation process. Remember to include the pcre, gzip, sub, and status modules. If you want to enable the online cache
To find the site source IP method:If you encounter the need to bypass the cdn, to find the real site IP address, You can use the following methods:Assume that the master service and the Mail Service are on the same server:1. Register your account
Chapter 2 Preparations for installing Squid
Starting from this chapter, you will learn how to install and compile programs under Linux, the optimization methods of program compilation, and the installation of Squid through source code compilation.
1.
6th Chapter compiling and installing SquidFirst use tar to unzip the source code compression package
Tar zxvf squid-2.6.stable13.tar.gz
After decompression, we get a directory named Squid-2.6.stable13. Enter directory
CD Squid-2.6.stable13
The 4th Chapter installs CentOS Linux
1. Basic Installation
Plug the disc into the optical drive, set the BIOS to boot from the CD drive (Don't tell me you won't), and then you'll see the startup interface with some hints that you can enter some
5th Chapter Installation Squid Preparation from this chapter, you will learn how to install under Linux, compile the program, but also learn how to compile the program optimization methods, and finally through the source code compiled way to
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.