Skip to content

Commit b094d3a

Browse files
committed
Update the-protocol.mdx
1 parent 8e2b9a2 commit b094d3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

v2/core-concepts/the-protocol.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ The following headers are automatically sent by Inertia when making requests. Yo
143143
Indicates whether the requested data should be appended or prepended when using [Infinite scroll](/v2/data-props/infinite-scroll).
144144
</ParamField>
145145

146-
<ParamField header="X-Inertia-Page-Once-Props" type="string">
146+
<ParamField header="X-Inertia-Except-Once-Props" type="string">
147147
Comma-separated list of non-expired [once prop](/v2/data-props/once-props) keys already loaded on the client. The server will skip resolving these props unless explicitly requested via a partial reload or force refreshed server-side.
148148
</ParamField>
149149

@@ -401,7 +401,7 @@ When using [once props](/v2/data-props/once-props), the page object includes an
401401
}
402402
```
403403

404-
When navigating to a subsequent page that includes the same once prop, the client sends the loaded keys in the `X-Inertia-Page-Once-Props` header. The server skips resolving these props and excludes them from the response. The client reuses the previously loaded values.
404+
When navigating to a subsequent page that includes the same once prop, the client sends the loaded keys in the `X-Inertia-Except-Once-Props` header. The server skips resolving these props and excludes them from the response. The client reuses the previously loaded values.
405405

406406
```http
407407
REQUEST
@@ -410,7 +410,7 @@ Accept: text/html, application/xhtml+xml
410410
X-Requested-With: XMLHttpRequest
411411
X-Inertia: true
412412
X-Inertia-Version: 6b16b94d7c51cbe5b1fa42aac98241d5
413-
X-Inertia-Page-Once-Props: plans
413+
X-Inertia-Except-Once-Props: plans
414414
415415
RESPONSE
416416
HTTP/1.1 200 OK

0 commit comments

Comments
 (0)