Describe the problem
when serialise the fetch response into <script type="application/json" data-type="svelte-data">, it includes the fetch response header, which includes headers that is always changed:
which makes the html content hash different, even though the api response body and svelte rendered content is the same
Describe the proposed solution
blacklist some of the response header when serialised
Alternatives considered
use serverFetch hook to overwrite fetch behavior on server, and remove the Date response header
Importance
would make my life easier
Additional Information
No response
Describe the problem
when serialise the fetch response into
<script type="application/json" data-type="svelte-data">, it includes the fetch response header, which includes headers that is always changed:which makes the html content hash different, even though the api response body and svelte rendered content is the same
Describe the proposed solution
blacklist some of the response header when serialised
Alternatives considered
use
serverFetchhook to overwrite fetch behavior on server, and remove theDateresponse headerImportance
would make my life easier
Additional Information
No response