asset caching & image re-encode and downscale

This commit is contained in:
Zoe
2024-11-12 01:30:24 -06:00
parent 796e889809
commit d23b66dda1
11 changed files with 101 additions and 18 deletions

2
go.mod
View File

@@ -9,6 +9,7 @@ require (
require (
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/chai2010/webp v1.1.1
github.com/gofiber/fiber/v2 v2.52.5 // indirect
github.com/gofiber/fiber/v3 v3.0.0-beta.3
github.com/gofiber/template v1.8.3 // indirect
@@ -22,6 +23,7 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mattn/go-sqlite3 v1.14.24
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
github.com/rivo/uniseg v0.2.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.55.0 // indirect