Skip to content

Commit 1a36d41

Browse files
authored
enhance: avoid verifying cache components in prod (#14)
1 parent 5bf51df commit 1a36d41

File tree

3 files changed

+5
-353
lines changed

3 files changed

+5
-353
lines changed

src/mcp-prompts/enable-cache-components-prompt.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -879,15 +879,15 @@ Run comprehensive checks:
879879
- Build output shows cache status for each route
880880
- Check for any build-time errors that didn't appear in dev
881881

882-
4. **Production Test**
882+
4. **Dev Mode Test**
883883
```bash
884-
<pkg-manager> start
885-
# Test a few key routes in production mode
884+
__NEXT_EXPERIMENTAL_MCP_SERVER=true <pkg-manager> next dev
885+
# Test a few key routes in dev mode
886886
```
887887
Expected:
888888
- Server starts successfully
889889
- Key routes work correctly
890-
- Cached content is served from prerendered shells
890+
- Cached content behavior can be observed
891891

892892
## Important Caching Behavior Notes
893893
────────────────────────────────────────
@@ -1046,7 +1046,7 @@ Report findings in this format:
10461046
[x] No errors in get_errors final check
10471047
[x] Dev server stopped after verification
10481048
[x] Build succeeds
1049-
[x] Production mode tested
1049+
[x] Dev mode tested with key routes
10501050
10511051
## Migration Notes
10521052
[Any special notes about the migration, especially if migrating from PPR]

src/mcp-tools/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
export { nextjsDocsTool } from "./nextjs-docs.js"
22
export { playwrightTool } from "./playwright.js"
3-
export { nextjsVerifyTool } from "./nextjs-verify.js"
43

54
// Export tools registry
65
import { nextjsDocsTool } from "./nextjs-docs.js"
76
import { playwrightTool } from "./playwright.js"
8-
// import { nextjsVerifyTool } from "./nextjs-verify.js"
97

108
export const MCP_TOOLS = {
119
nextjs_docs: nextjsDocsTool,
1210
playwright: playwrightTool,
13-
// nextjs_verify: nextjsVerifyTool,
1411
} as const
1512

src/mcp-tools/nextjs-verify.ts

Lines changed: 0 additions & 345 deletions
This file was deleted.

0 commit comments

Comments
 (0)