-
Notifications
You must be signed in to change notification settings - Fork 16
Add startup benchmark helper #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add startup benchmark helper #158
Conversation
camillobruni
commented
Aug 20, 2025
- Add startup-helper folder:
- StartupBenchmark handles source code creation
- BabelCacheBuster.js is a babel plugin that injects a known comment into every function body
- Add unit tests for StartupBenchmark
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nits. Also is there a usage example besides the test or link to the cache busting / how it's currently done without the helper?
Currently the only cache busting we do is in code-load where we append a random number as a string to the eval'd sources. Something that can be easily circumvented. |