Module ID Requirements

I’m working on an HTTP cache module and the Caddy team is working on an HTTP cache module. Is it by design that we could both use http.handlers.cache as our Module ID?

Yep! This allows easily swapping existing modules for forks or development versions.

But if you plug both of them in at the same time and run Caddy, it will give you an error.

1 Like

This topic was automatically closed after 60 days. New replies are no longer allowed.