[PR #486] [MERGED] feat: remove service workbox html cache #592

Closed
opened 2026-02-26 21:31:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/486
Author: @dreamhunter2333
Created: 11/14/2024
Status: Merged
Merged: 11/14/2024
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • b89de48 feat: remove service workbox html cache

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 frontend/vite.config.js (+7 -0)

📄 Description

PR Type

enhancement


Description

  • Updated the Workbox configuration in the Vite PWA setup to disable development logs.
  • Cleared globPatterns and runtimeCaching arrays to remove HTML caching.
  • Set navigateFallback to null to prevent fallback navigation.
  • Enabled cleanup of outdated caches to ensure old caches are removed.

Changes walkthrough 📝

Relevant files
Enhancement
vite.config.js
Updated Workbox configuration in Vite PWA setup                   

frontend/vite.config.js

  • Added configuration to disable development logs in Workbox.
  • Cleared globPatterns and runtimeCaching arrays.
  • Set navigateFallback to null.
  • Enabled cleanup of outdated caches.
  • +7/-0     

    💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information


    🔄 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/dreamhunter2333/cloudflare_temp_email/pull/486 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 11/14/2024 **Status:** ✅ Merged **Merged:** 11/14/2024 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`b89de48`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/b89de489f647f466f93829edd3a684e28e391308) feat: remove service workbox html cache ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `frontend/vite.config.js` (+7 -0) </details> ### 📄 Description ### **PR Type** enhancement ___ ### **Description** - Updated the Workbox configuration in the Vite PWA setup to disable development logs. - Cleared `globPatterns` and `runtimeCaching` arrays to remove HTML caching. - Set `navigateFallback` to null to prevent fallback navigation. - Enabled cleanup of outdated caches to ensure old caches are removed. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>vite.config.js</strong><dd><code>Updated Workbox configuration in Vite PWA setup</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> frontend/vite.config.js <li>Added configuration to disable development logs in Workbox.<br> <li> Cleared <code>globPatterns</code> and <code>runtimeCaching</code> arrays.<br> <li> Set <code>navigateFallback</code> to null.<br> <li> Enabled cleanup of outdated caches.<br> </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/486/files#diff-3ab42a14055f455cac92d192b5dfc9b850cd36f1ea3410d1694a602f6d4b83c1">+7/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull request to receive relevant information --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:31:56 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#592
    No description provided.