Global Static Files (2)
In addition to the usage mentioned in Global Static Files (1), Edge also provides a third and more general usage.
Sometimes, we need to serve static resources on Edge and let clients in different regions access the static resources in the corresponding regions to improve the access efficiency of static resources.
Create Static Resource
- Upload file：
Size limit: 10 MB.
- Create directory：
Edit Static Resource
You able to re-upload the file content, but rename the file is not supported yet.
Delete Static Resource
Usage of Static Resources
If this rule is set, 1-2 segments (separated by
/, e.g., if the URI is
b will be obtained to form a new path
/a/b) will be taken from the URI
and used as the path to find the corresponding static file.
If the start index is 0, it means start from the first segment.
If the end index is 0, it means to the last segment.
Usage of Static Resources: Using static resources in Edgelang