百度智能云

All Product Document

          CDN

          FAQs about Usage

          What Conditions Must Be Met to Use CDN?

          The domain name has been registered.

          Is the Registration Required for Using the CDN Service?

          You need to perform the registration. When you configure the CDN service, the system checks the domain name registration. If the domain name is not registered, the service is not enabled for this domain name.

          What Domain Name Acceleration Protocols do CDN Support?

          CDN Supports Domain Name Acceleration of HTTP and HTTPS Protocols.

          How Many CDN Accelerated Domain Names Can Be Added to Each Account?

          For each Baidu AI Cloud account, you can create up to 2000 CDN accelerated domain names.

          What Does the Domain Name Binding CNAME record Mean?

          Normally, each domain name has its corresponding server address, and the domain name is bound to the CNAME record. That is, the server address record corresponding to the domain name is set as the CNAME record.

          Do Users Upload Images to the Origin Server Directly or Through the CDN Node?

          Uploading images via accelerated domain names means uploading to the origin server through the CDN node.

          What is the Difference Between the Traffic Hit Rate and the Request Hit Rate in the CDN Statistical Analysis?

          The traffic hit rate and the request hit rate are mainly calculated for traffic and request, respectively. The calculation method is as follows:

          1. Traffic hit rate: (Edge node traffic-Back-to-origin traffic) / Edge node traffic* 100%.
          2. Request hit rate: (Number of requests from edge nodes-Number of back-to-origin requests)/Number of requests from edge nodes* 100%..

          For more information, refer to the Hit Rate Data.

          The Domain Name Is Registered Elsewhere. Baidu Does Not Register the CDN Domain Name. Do You Want to Mask It?

          The prerequisite for using CDN is that the domain name must have been registered (as long as it is registered, regardless of manufacturer), and there are no other special requirements. The domain names registered are not masked for adding CDN acceleration access.

          How to judge whether the CDN has been cached successfully?

          If you want to know whether the access page is cached, you can use F12 and the developer tool to view the source IP of static resources on the page you access and check whether it is a CDN node IP in the CDN tool. If yes, it is CDN. Furthermore, if there is age in the message header, it indicates that it is cached. For the specific usage of CDN tools, refer to Common Tools.

          Can CDN Be Used to Build svn or git?

          CDN is mainly used to accelerate website access, and related services cannot be built. It is recommended that you use BCC products to build svn or git.

          Can CDN Limit the Rate of Accessing the Domain Names?

          It supports the bandwidth threshold setting in the following specific operation steps:

          1. Enter the domain name configuration page, click [Advanced setting], and select "Bandwidth Capping Configuration".
          2. Edit "Bandwidth Capping Configuration" to set the bandwidth threshold and the way of processing the user requests after the threshold is exceeded. For details, refer to the document Bandwidth Threshold Setting.

          There Are Too Many Pages on the Website, How To Realize the One-click Refresh of the CDN URL?

          You can directly refresh the "Directory" so that all resources in the directory can be refreshed. For example, refresh all resources in the root directory.

          How To Use the Traffic Pack Purchased?

          If you need to use a traffic package, you can change your accelerated domain name so that it is billed by traffic. If it is billed by traffic, the traffic package is deducted first when the traffic is consumed, and the excess is billed based on the use of traffic. No special settings are required.
          If the change is required, see Documentation for the billing method.

          How Often Is the Cache in the CDN Updated in the Whole Server Automatically?

          The acceleration principle of CDN is to cache the content on the node so that the user can access the cached content on the node. Only when the cached content expires, the data is pulled from the origin server again and synchronized to the node.

          It is recommended that you set the cache expiration time according to the content update frequency. The cache expiration time is longer for the low updating frequency and shorter for the high updating frequency. For some resources required for real-time synchronization, it is recommended that you set the expiration time to 0. That is, they are not cached. For more information, refer to Cache Configuration.

          How Does CDN Get the Client's IP?

          There are two ways to get the client IP through CDN:

          1. By downloading the CDN log, it contains the client IP. Refer to Log Management for details.
          2. After the CDN console is enabled to get the real IP option, the client IP can be got from the access log by installing X-Forwarded-For on the origin server web. For specific tutorials, you can online search the keyword "Corresponding web environment name + Configure X-Forwarded-For".

          How Does CDN Cache Static Files Only?

          You can clear the cache configuration, and set the static resource cache in the CDN cache configuration to cache the resources in the form of suffix, such as image resource: .jpg, .png and .gif; audio and video files: .mp4,.mp3, and.avi; and style file: .js, .css, and .woff. For more information, refer to Cache Configuration.

          The Server Is Often at Full Load After the CDN Is Available, How to Solve This Problem?

          The CDN service can be used to configure all static file cache rules of the website. Refer to the cache management document. In this way, the static files are cached to the CDN node. It returns the node directly to reduce the occupation of the origin server. If there are a large number of requests for accessing and attacking your server, it is recommended that you configure the "Access control" feature and set the anti-leech links such as refer. If you have any question, submitthe CDN ticket.

          What Is the Difference Between the Center Node and Edge Node?

          The edge node refers to the CDN node IP first requested by the user, and the central node requests the data from the origin server. For details, refer to: Acceleration principle.

          Does Baidu AI Cloud CDN Support websocket?

          Baidu AI Cloud CDN supports websocket, but the CDN dynamic acceleration feature must be enabled. Refer to the enabling of CDN dynamic acceleration feature. Configure the corresponding websocket address in the dynamic acceleration feature. If you have any question, submitthe CDN ticket.

          Is the File in the CDN Modified or Unmodified Data?

          After the origin server resources are modified, CDN still displays the legacy data, which is usually caused by the CDN cache. You can refresh the CDN cache. For more information, refer toCache Cleaning. If there are still problems, you can submitthe CDN ticket.

          What Is the Maximum Bandwidth Allowed by the CDN?

          There is no flow rate limit on Baidu AI Cloud CDN for daily peak bandwidth billing. The upper limit of the default daily peak bandwidth is 100Gbps. If you need a bigger bandwidth, you can submit a ticket for application. For details, see Billing on the Daily Peak Bandwidth on the official website.

          How Long is the CDN Offline Log Stored?

          The CDN offline log can be stored for half a year. You can store the log in BOS. There is no time limit for storage in BOS.

          After Enabling the CDN HTTP2, What Origin Protocol Is Used?

          After enabling the CDN HTTP/2, the HTTP/1.1 protocol is used as the origin protocol.

          How Many Times Is the Origin Prefetch of the Same Source in the CDN Performed?

          Generally, two or more nodes are configured for the 3-level system. It uses consistent hashes. The back-to-origin is performed normally once and at most twice.

          How Can I Continue to Use the CDN Domain Name after It Has Been Recovered?

          Baidu AI Cloud CDN system recovers the domain names that have been registered for more than one year, and the cumulative traffic does not exceed 1MB. The Recovered status is the same as the Deleted status in the system. The domain name is no longer associated with any CDN service. By default, other users can perform registration, and only the original configuration information is retained. You can select the active recovery of domain names. If you want to re-add the domain name, you can perform the operation through-Console-CDN-Tools-Domain Name Trash-Click Domain Name-[Activate]. If the activation is successful, the original configuration of the domain name is automatically loaded without the need to configure it again.

          Does Baidu AI Cloud CDN Support QUIC?

          Baidu AI Cloud CDN supports QUIC, which can be enabled directly on the console. The prerequisite for QUIC is that HTTPS is available.

          Previous
          FAQs about Security
          Next
          Feature Release Records