[PR #4665] [MERGED] 🐛 Allowing service worker to cache files up to 5mb - fixes edge & offline mode #5522

Closed
opened 2026-02-28 21:13:48 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4665
Author: @MikesGlitch
Created: 3/19/2025
Status: Merged
Merged: 3/19/2025
Merged by: @MikesGlitch

Base: masterHead: fix/allowing-sw-to-cache-files-up-to-5mb


📝 Commits (2)

📊 Changes

2 files changed (+7 additions, -0 deletions)

View changed files

📝 packages/desktop-client/vite.config.mts (+1 -0)
upcoming-release-notes/4665.md (+6 -0)

📄 Description

Fixes offline mode when the server is offline. Also fixes it when the new version of the app is out and the service worker is still hanging onto the old version (the issue on edge).

We should look into reducing the size of the index.x.js file after. It's currently over 2MB.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4665 **Author:** [@MikesGlitch](https://github.com/MikesGlitch) **Created:** 3/19/2025 **Status:** ✅ Merged **Merged:** 3/19/2025 **Merged by:** [@MikesGlitch](https://github.com/MikesGlitch) **Base:** `master` ← **Head:** `fix/allowing-sw-to-cache-files-up-to-5mb` --- ### 📝 Commits (2) - [`f7973e5`](https://github.com/actualbudget/actual/commit/f7973e5f6ca1c7b08830e7ed0743348fe9ed9747) allowing sw to cache files up to 5mb - [`b1bff38`](https://github.com/actualbudget/actual/commit/b1bff3864854a5bd7d8c22bf54d5d0e9878e241f) release notes ### 📊 Changes **2 files changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/vite.config.mts` (+1 -0) ➕ `upcoming-release-notes/4665.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes --> Fixes offline mode when the server is offline. Also fixes it when the new version of the app is out and the service worker is still hanging onto the old version (the issue on edge). We should look into reducing the size of the index.x.js file after. It's currently over 2MB. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:13:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5522