diff --git a/resources/js/Pages/the-protocol.jsx b/resources/js/Pages/the-protocol.jsx index aede5d5..81381c2 100644 --- a/resources/js/Pages/the-protocol.jsx +++ b/resources/js/Pages/the-protocol.jsx @@ -220,17 +220,25 @@ export default function () { optimization if it's acceptable that some page data becomes stale.

- When a partial reload request is made, Inertia includes two additional headers with the request:{' '} - X-Inertia-Partial-Data and X-Inertia-Partial-Component. + When a partial reload request is made, Inertia includes the X-Inertia-Partial-Component header and + may include X-Inertia-Partial-Data and/or X-Inertia-Partial-Except headers with the + request.

The X-Inertia-Partial-Data header is a comma separated list of the desired props (data) keys that should be returned.

+

+ The X-Inertia-Partial-Except header is a comma separated list of the props (data) keys that + should not be returned. When only the X-Inertia-Partial-Except header is included, all props (data) + except those listed will be sent. If both X-Inertia-Partial-Data and + X-Inertia-Partial-Except headers are included, the X-Inertia-Partial-Except header + will take precedence. +

The X-Inertia-Partial-Component header includes the name of the component that is being partially reloaded. This is necessary, since partial reloads only work for requests made to the same page component. If - the final destination is different for some reason (eg. the user was logged out and is now on the login page), + the final destination is different for some reason (e.g. the user was logged out and is now on the login page), then no partial reloading will occur.