- Property Manager name: Origin Base Path
- Behavior version: The
latest
rule format supports thebaseDirectory
behavior v1.1. - Rule format status: Beta, possible breaking changes
- Access: Read-write
- Allowed in includes: Not available for
latest
rule format
Prefix URLs sent to the origin with a base path.
For example, with an origin of example.com
, setting the value
to /images
sets the origin's base path to example.com/images
. Any request for a my_pics/home.jpg
file resolves on the origin server to example.com/images/my_pics/home.jpg
.
Note that changing the origin's base path also causes a change to the cache key. Until that resolves, it may cause a traffic spike to your origin server.