-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embeds are triggering Netlify Function executions #989
Comments
Leaving this open to continue optimization. |
Test: Result:
Cloudflare is caching but Netlify isn't. That's better than before. I'm not sure if we can make it better. |
Another facet of this: SvelteKit uses a More here: sveltejs/kit#10348 |
We need to optimize our SSR rules between Netlify and Cloudflare to ensure we're correctly caching our pages. Disabling SSR on embeds didn't improve this. It looks like Netlify is sending their default
cache-control: no-cache
header in responses.Some approaches @eyeseast and I discussed:
Chris experimented by trying #2 and we've seen a reduction in cache misses, so this is likely a headers issue.
Our plan for now:
The text was updated successfully, but these errors were encountered: