- Property Manager name: Origin Base Path
- Behavior version: The
v2023-01-05rule format supports the
- Rule format status: GA, stable
- Access: Read-write
- Allowed in includes: Yes
Prefix URLs sent to the origin with a base path.
For example, with an origin of
example.com, setting the
/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
- Changing the origin's base path also changes the cache key, which makes any existing cached data inaccessible. This causes a spike in traffic to your origin until the cache repopulates with fresh content. - You can't override the base path with other behaviors. For example, if in the [`rewriteUrl`](#) behavior you specify `targetPath` to `/gifs/hello.gif`, this gets appended to the base path: `example.com/images/gifs/hello.gif`.