A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go

add a cache-control header to metadata page

evan.jarrett.net 34c2b8b1 8d0cff63

verified
+3
+3
cmd/appview/serve.go
··· 392 392 393 393 w.Header().Set("Content-Type", "application/json") 394 394 w.Header().Set("Access-Control-Allow-Origin", "*") 395 + // Limit caching to allow scope changes to propagate quickly 396 + // PDS servers cache client metadata, so short max-age helps with updates 397 + w.Header().Set("Cache-Control", "public, max-age=300") 395 398 if err := json.NewEncoder(w).Encode(metadataMap); err != nil { 396 399 http.Error(w, "Failed to encode metadata", http.StatusInternalServerError) 397 400 }