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
@kirankumar-grootan
the setting in the app was there before we had the middleware and afterwards we couldn't remove it because it would have caused a breaking change.
in v3 this setting has been removed and you are supposed to use the middleware.
the difference is that the app setting affects all routes and with the middleware you could only apply the etag procedure to certain routes.
Question Description
As per doc you can utilize Etag as middleware, and there's also an option to enable it in
fiber.config
.https://docs.gofiber.io/api/middleware/etag/
https://docs.gofiber.io/api/fiber
Are the functionalities the same when enabling via
fiber.config
or middleware? What's the distinction between the two methods?Code Snippet (optional)
No response
Checklist:
The text was updated successfully, but these errors were encountered: