I have few questions about surrogate keys.
- What is the limit of keys in Surrogate-Key header?
- Is there any performance issues with having multiple surrogate keys?
- Is there a problem with having duplicate key in Surrogate-Key? The reason is, if I have VCL code that would add surrogate key, it would run both on edge and on shield. So I want to know if I have to check it, before adding, or it’s ok to add without checking.
- Is it OK to have space at the beginning of Surrogate-Key?
So if I have following VCL:
set beresp.http.Surrogate-Key = beresp.http.Surrogate-Key " my-key";
Is it enough, or I have to check if Surrogate-Key exists and it it already includes “my-key”?
Please sign in to leave a comment.