feat(smalltrip): TODO SmartCache middlware

This commit is contained in:
Guz
2025-02-24 08:04:49 -03:00
parent 049b70f23d
commit 21495998cf

View File

@@ -22,6 +22,11 @@ func Cache(options ...CacheOption) Middleware {
}
}
// TODO: SmartCache is a smarter implementation of Cache that handles requests
// with authorization, Cache-Control from the client, and others.
func SmartCache(options ...CacheOption) Middleware {
return Cache(options...)
}
type CacheOption func(*directives)