Repository navigation
feat!: Enable cache busting - #4078
Conversation
9db537e to
c13f191
Compare
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c13f191 to
59b7d3e
Compare
|
I'm a bit on the fence if I should duplicate the tests from relic regarding cache busting. |
|
@nielsenko - Feels like we only need to validate the integration. We don't actually need to duplicate the tests since we are using an external library (to this project). |
SandPod
left a comment
There was a problem hiding this comment.
LGTM! Not sure if we should add a cache busting test? Perhaps it would be good to have a smoketest to ensure that it works as expected?
Adds optional
cacheBustingConfigparameter toStaticRoute.directory()factory constructor:cacheBustingConfigthrough to the underlyingStaticHandler.directory()Fixes #3832
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
StaticRouteconstructors use optional named parameters now. Users passingcacheControlFactoryas a positional parameter must update to named parameter syntax.