Open lorypelli opened 5 hours ago
The browser cache assets and I don't know how to fix
Create server with a static directory
To prevent caching I added a t url query param that contains the current unix seconds time
t
2.52.5
No response
Is there a better way to fix?
@lorypelli This is explained in the docs: https://docs.gofiber.io/api/app/#static
// Custom config app.Static("/", "./public", fiber.Static{ CacheDuration: -1, })
Bug Description
The browser cache assets and I don't know how to fix
How to Reproduce
Create server with a static directory
Expected Behavior
To prevent caching I added a
t
url query param that contains the current unix seconds timeFiber Version
2.52.5
Code Snippet (optional)
No response
Checklist: