Loading...
Loading...
Apply when defining service.json routes, choosing public vs segment vs private URL prefixes for VTEX IO services, or setting HTTP cache headers that interact with the VTEX edge and CDN. Covers path patterns, cookie visibility, edge caching behavior, and aligning Cache-Control with data sensitivity. Use for Node or .NET IO backends where request path and response headers determine CDN safety.
npx skill4agent add vtex/skills vtex-io-service-paths-and-cdnservice.json/_v/segment/.../_v/private/...Cache-Controlvtex_sessionvtex_segment@cacheControlservice.jsonroutes/yourPath/_v/segment/yourPath/_v/private/yourPath{yourPath}/_v/segment/{yourPath}vtex_segment/_v/private/{yourPath}vtex_segmentvtex_sessionCache-ControlCache-Control/_v/private/...vtex_sessionCache-Controlprivate, no-store/_v/private/"public": true{
"routes": {
"myOrders": {
"path": "/_v/private/my-app/orders",
"public": true
}
}
}GET /my-app/orders/_v/private//_v/segment/Cache-Controlvtex_sessionmax-ageprivatepublic/_v/segment/_v/privateCache-Controlservice.json@cacheControlvtex_segmentvtex_session