docs: sveltekit defaults makes wisp blob reuse ineffective
did:plc:nmc77zslrwafxn75j66mep6o opened this Mar 20, 2026 1 comments
did:plc:nmc77zslrwafxn75j66mep6o opened Mar 20, 2026
sveltekit by default includes a unique "version hash" which changes the hash of the main svelte bundle and any other bundles that depend on it. this makes wisp's blob reuse useless as it has to upload all the javascript chunks again. it's worth documenting along with the workaround of setting the version to a fixed string in svelte.config.js:
/** @satisfies {import('@sveltejs/kit').Config} */
const config = {
kit: {
version: {
name: 'meow'
}
}
};
export default config;this is not important for most people as there won't be too many chunks in their website but in the case of https://paste.wisp.place i cannot update my site more than 5 times per hour without it
No activity yet.