currently all ports are mapped to the caching layer when annotating a service. it should be possible, via a second annotation, to select which ports on a service need to go trough the cache layer
metadata:
annoations:
swisstxt.ch/http-cache-enabled: "true"
swisstxt.ch/http-cache-ports: "http"
or comma separated with multiple ports:
metadata:
annoations:
swisstxt.ch/http-cache-enabled: "true"
swisstxt.ch/http-cache-ports: "http,prometheus"