From a3ae6eaa65744014c225e82d142b217b8ce78488 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 8 Jan 2023 08:52:04 -0500 Subject: add todo --- http/router.go | 1 + 1 file changed, 1 insertion(+) (limited to 'http') diff --git a/http/router.go b/http/router.go index 6a43499..24694b1 100644 --- a/http/router.go +++ b/http/router.go @@ -58,6 +58,7 @@ func (s *Router) Start(zapWriter io.Writer) { render(c, resource, err) }) + //TODO use content addressing here so we can be cache friendly (like /actors/:actor/avatar/:avatar_sha256) // Actor avatar router.GET("/actors/:actor/avatar", func(c *gin.Context) { actorParam := c.Param("actor") -- cgit v1.2.3