You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- check_early_hints.js: Exit with error code 1 when no Early Hints found
- Footer.jsx: Extract reusable SVG icon components to reduce duplication
- chrome-mcp-server-setup.md: Add note about Playwright not capturing 103 responses,
show CDP approach for detecting Early Hints
- thruster.md: Add Shakapacker early_hints configuration example
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/thruster.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -295,6 +295,24 @@ Thruster works seamlessly with Shakapacker for both Webpack and Rspack:
295
295
- Manifest files are properly served
296
296
- Hot Module Replacement (HMR) still works in development
297
297
298
+
#### Shakapacker Early Hints Configuration
299
+
300
+
To enable early hints in production, add the following to your `config/shakapacker.yml`:
301
+
302
+
```yaml
303
+
# config/shakapacker.yml
304
+
production:
305
+
<<: *default
306
+
# ... other settings ...
307
+
308
+
# Early hints configuration
309
+
early_hints:
310
+
enabled: true
311
+
debug: true # Set to true to output debug info as HTML comments
312
+
```
313
+
314
+
This allows Shakapacker to send Link headers for webpack assets, which Thruster can use to optimize asset loading via HTTP/2 server push or 103 Early Hints responses.
315
+
298
316
## Performance Expectations
299
317
300
318
Based on typical Rails applications with Thruster:
0 commit comments