gin
gin copied to clipboard
How do I set the cache time for static files
Description
engine.Static("/static", staticPath)
I want to add a header to a static file,like c.Header("Cache-Control", "private, max-age=86400")
,How to achieve。
thanks