posch

Results 6 comments of posch

I expected some discussion, so this is more a draft than a polished change. > @posch Can you please add an entry to CHANGELOG.md I've added a line to the...

I have a few more ideas I'd like to add here. 1. To have some control over caching, warewulfd should add a Cache-Control response header (e.g. max-age=60). This should be...

> * http://.../container-by-name/{{.ContainerName}}.img[.gz] is fine, though I'd probably use http://.../container/{{.ContainerName}}.img[.gz] myself. Unfortunately, /container/ is already taken, see internal/pkg/warewulfd/warewulfd.go: ``` wwHandler.HandleFunc("/provision/", ProvisionSend) wwHandler.HandleFunc("/ipxe/", ProvisionSend) wwHandler.HandleFunc("/efiboot/", ProvisionSend) wwHandler.HandleFunc("/kernel/", ProvisionSend) wwHandler.HandleFunc("/kmods/", ProvisionSend) wwHandler.HandleFunc("/container/",...

@anderbubble, @griznog I've rebased my patches. The URL changed to /images/ (was: container-by-name). And I've added the Cache-Control option. Sorry for being so lazy. Seems I missed the optimal time...

> Thanks for your continuous work on that @posch. Just a dumb question from my side. What does CacheControl do exactly? As far as I see it only updates the...

Yes, that seems to work. Thanks.