Fix cache policy for stable public assets
This commit is contained in:
parent
ffb020ee98
commit
75592d7d7a
6 changed files with 171 additions and 40 deletions
|
|
@ -18,6 +18,7 @@ not bugs, missing scenarios or a percentage of work remaining.
|
|||
| Data loss, startup failure, deferred media | `e2e/persistence.spec.js`, `storage-startup.spec.js`, `deferred-media.spec.js`; Node persistence queue and image action tests |
|
||||
| React lifecycle, shared editing and navigation | `e2e/editor-lifecycle.spec.js`, `inline-edit.spec.js`, `form-reorder.spec.js`, `shell-behavior.spec.js`, `session-state.spec.js` |
|
||||
| Public data loading, retry and stale responses | `e2e/app-data.spec.js` |
|
||||
| HTTP cache policy of the delivered Node server | `tests/server-cache.test.mjs`; production E2E remains responsible for stale bundle recovery |
|
||||
| Shared reorder policy and module order | `e2e/grouped-reorder.spec.js`, `module-order.spec.js` |
|
||||
| Toolbox creation, import/export, text exchange | `e2e/toolbox.spec.js`, `text-exchange.spec.js`; Node toolbox module tests |
|
||||
| Links: creation, copy, category removal preserving links, deletion and reload | `e2e/basic-tools.spec.js` |
|
||||
|
|
@ -49,6 +50,8 @@ automatic follow-on batches required to finish this audit.
|
|||
|
||||
Run targeted tests while implementing a grouped change, then `npm run check:full`
|
||||
as the final gate: lint, Node tests, build, development E2E and production E2E.
|
||||
Use the direct Node server test for HTTP headers; Vite Preview does not exercise
|
||||
the cache policy implemented by `server.mjs` or any production proxy override.
|
||||
Review the diff and report actual failures or limits before closing the task.
|
||||
Do not introduce visual snapshots solely to prove that a page loads.
|
||||
Keep detailed command logs outside tracked source and report concise results.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue