You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
I'm working on implementing signed exchanges for a website and I have a question and maybe a potential feature requests. Most of the HTML I'm serving has an expiration date of just a few days, however a lot of static content (hashed) uses 365 days. Signed exchanges can be generated for both, however in front of my Nginx servers I also have a load balancer with CDN capabilities. If it starts caching requests for signatures, then these will be stale. I couldn't find a way to differentiate expires and cache-control headers based on the fact if it's an SGX request or not. Should the module automatically set cache-control and expires to a reasonable value?
To make it more clear, that's my setup:
Nginx servers in 12 geographical regions worldwide
Google Cloud HTTPS load balancer
Google Cloud CDN
Requests made from AMP caches would also end up on the load balancer and possibly be served by the CDN, unless there's a way I can prevent that from happening.
I'm working on implementing signed exchanges for a website and I have a question and maybe a potential feature requests. Most of the HTML I'm serving has an expiration date of just a few days, however a lot of static content (hashed) uses 365 days. Signed exchanges can be generated for both, however in front of my Nginx servers I also have a load balancer with CDN capabilities. If it starts caching requests for signatures, then these will be stale. I couldn't find a way to differentiate
expiresandcache-controlheaders based on the fact if it's an SGX request or not. Should the module automatically setcache-controlandexpiresto a reasonable value?To make it more clear, that's my setup:
Requests made from AMP caches would also end up on the load balancer and possibly be served by the CDN, unless there's a way I can prevent that from happening.