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

Use a service worker to cache requests #752

Merged
merged 4 commits into from
Oct 3, 2024
Merged

Conversation

eyeseast
Copy link
Contributor

@eyeseast eyeseast commented Oct 3, 2024

This uses the example service worker from the SvelteKit docs, plus update handling.

Check on staging that this doesn't interfere with writes.

Closes #548, #707

Copy link

github-actions bot commented Oct 3, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 21.65% 6603 / 30495
🔵 Statements 21.65% 6603 / 30495
🔵 Functions 39.32% 140 / 356
🔵 Branches 56.81% 350 / 616
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/routes/+layout.svelte 0% 0% 0% 0% 1-37
Generated in workflow #545 for commit 2a67dcf by the Vitest Coverage Report Action

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for documentcloud-frontend ready!

Name Link
🔨 Latest commit 2a67dcf
🔍 Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/66fecccaaeb8260008ec90a8
😎 Deploy Preview https://deploy-preview-752.muckcloud.com
📱 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.

src/routes/+layout.svelte Show resolved Hide resolved
@eyeseast eyeseast merged commit b79650d into sveltekit Oct 3, 2024
9 of 10 checks passed
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