Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
michaelmior
· 9y ago · 0 comments
This is good practice anyway because it avoids the overhead of sending cookies for static content when they're not needed.
Comments
[–]
dc2447
9y ago
In HTTP2 the opposite is true.
Single domain will help you with performance
[–]
Buge
9y ago
Actually with http2 you can multiplex requests for multiple domains within a single connection. As long as the DNS for the domains is the same IP, and you have a single certificate covering both domains.
[–]
dylz
9y ago
Cloudflare forces a cfduid cookie no matter what, even on pure-static-caching
[–]
michaelmior
OP
9y ago
This would still save you having to send all other cookies from your non-static domain.