Chinafy enables fully-managed Content Delivery Network (CDN) to accelerate delivery for your China-based visitors.
The technical requirements to leverage the CDN feature on Chinafy are as follows:
1. Differentiate cacheable and non-cacheable files on your website.
You should only cache, non-sensitive static files via the Chinafy CDN.
Static content refers to files stored on a server that remain unchanged each time they are accessed by users. Examples of such content include HTML files and PNG files.
On the other hand, dynamic content adapts based on individual user factors like the time of visit, location, and device. Unlike static content, a dynamic webpage varies from user to user and can be modified as users interact with it.
2. For cacheable files, apply cache-control in the response header with the following directives (in green).
Compatible | Not compatible |
public AND max-age>0 | private |
(empty) | no-cache |
no-store | |
max-age=0 |
Please note that Chinafy cannot and will not override cache-control in the original site or the Chinafy version of the site for security reasons. The cache-control in the Chinafy version of the site mirrors your original site, meaning any changes will trigger changes on the Chinafy version of the site.
Got questions? Email support@chinafy.com.
Comments
0 comments
Please sign in to leave a comment.