Juan Calderon-Perez
f668537c02
chore: Bump golangci-lint to v1.60.3 ( #3119 )
...
Bump golangci-lint to v1.60.3
2024-09-02 15:38:59 +02:00
Juan Calderon-Perez
8c3f81e2b7
v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage ( #3079 )
...
* Use composites for internal structures. Fix alignment of structures across Fiber
* Update struct alignment in test files
* Enable alignment check with govet
* Fix ctx autoformat unit-test
* Revert app Config struct. Add betteralign to Makefile
* Disable comment on alert since it wont work for forks
* Update benchmark.yml
* Update benchmark.yml
* Remove warning from using positional fields
* Update router.go
2024-07-23 08:37:45 +02:00
Juan Calderon-Perez
b9936a339d
🔥 Feature: Add support for zstd compression ( #3041 )
...
* Add support for zstd compression
* Update whats_new.md
* Add benchmarks for Compress middleware
---------
Co-authored-by: RW <rene@gofiber.io>
2024-06-26 16:00:38 +02:00
M. Efe Çetin
38fb8064c6
middleware: add static middleware ( #3006 )
...
* middleware: add static middleware
* uncomment broken tests
* introduce isfile config property to fix file issues
* test
* add io/fs support to static mw
* add io/fs support to static mw
* remove filesystem and app.Static
* fix linter
* apply review
* support disablecache
* support multi indexes
* add an example for io/fs
* update whats new & apply reviews
* update
* use fasthttp from master
* Update .github/README.md
Co-authored-by: RW <rene@gofiber.io>
* update1
* apply reviews
* update
* update
* update examples
* add more examples
---------
Co-authored-by: RW <rene@gofiber.io>
2024-05-28 09:29:25 +02:00