Skip to content
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

Add config option to disable cache headers #2425

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

magnetised
Copy link
Contributor

for embedded electric, in dev mode we don't want the browser to cache responses because it causes problems with restarts/migrations etc, so add a flag to just turn them off.

also includes allowing configuration of the stack_ready_timeout and a higher default for that (was 100ms which is a bit harsh)

@magnetised magnetised requested a review from icehaunter March 6, 2025 18:37
Copy link

netlify bot commented Mar 6, 2025

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit eb72e0d
🔍 Latest deploy log https://app.netlify.com/sites/electric-next/deploys/67c9eb7ba8c8b2000837ccf0
😎 Deploy Preview https://deploy-preview-2425--electric-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

for embedded electric, in dev mode we don't want the browser to cache
responses because it causes problems with restarts/migrations etc, so
add a flag to just turn them off.

also includes allowing configuration of the stack_ready_timeout and a
higher default for that (was 100ms which is a bit harsh)
@magnetised magnetised force-pushed the magnetised/disable-api-cache-headers branch from eb72e0d to 389e12a Compare March 6, 2025 18:41
@icehaunter icehaunter merged commit ac9af08 into main Mar 7, 2025
34 checks passed
@icehaunter icehaunter deleted the magnetised/disable-api-cache-headers branch March 7, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants