InvalidCache with wildcards
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- typescript
- 領域
- frontend
研究方向
從 invalidateCache("/books*") 入口開始,檢查目前如何比對 /books 和 /books?query="harry potter" 的快取鍵。將完成定義為:提供萬用字元時,同時使基礎路由和符合的查詢路由失效,並保留正常的失效行為。
由索引模型根據 Issue 內容生成。
描述
If an user goes to /books and perform a query to /books?query="harry potter" both are cached. If user add to its favorites the book from the query. Then we need to invalidate both routes.
Since /books displays the favorites at the top.
It would be great to be able to invalidate the cache from a wildcard such as invalidateCache("/books*")
Great job btw!
- 主要語言
- TypeScript
- 星號
- 247
- 分支
- 3
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
code-forge-io/remix-client-cache 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 48/100
-
難度 5/5 一週以上 新手友好度 35/100
-
難度 5/5 一週以上 新手友好度 25/100
code-forge-io/remix-client-cache#15 · 3 則留言 · 3 個 reaction ·
-
難度 5/5 一週以上 新手友好度 30/100
code-forge-io/remix-client-cache#7 · 3 則留言 · 1 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 35/100
code-forge-io/remix-client-cache#3 · 3 則留言 ·
查看 code-forge-io/remix-client-cache 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
langchain-ai/langchainjs#12239 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
paperclipai/paperclip#21837 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 73/100
code-yeongyu/senpi#6813 ·
維護者通常 1 天內回覆
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 93/100
lingdojo/kana-dojo#34169 · 1 則留言 · 5 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100