valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.87k stars 1.76k forks source link

Disable Caching for FS Handler #1472

Closed efectn closed 1 year ago

efectn commented 1 year ago

Fasthttp FS isn't supporting disabling caching currently. Are there any way to disable it or should it be forcibly opened?

Ref: https://github.com/gofiber/fiber/issues/2201

erikdubbelboer commented 1 year ago

There is currently no way. I would be ok with a pull request that adds a boolean field for this. I'm afraid I don't have time to write this myself.

keyvan-dadash commented 1 year ago

Can I work on this?

erikdubbelboer commented 1 year ago

Can I work on this?

Yes of course!

ReneWerner87 commented 1 year ago

@sod-lol any progress ?