How do i get the Cache Key of an object

Comments

3 comments

  • Justin

    Hi Pooranan

    By default, the cache key includes the value of the Host header, so this means that the apex and subdomains will be cached separately. This means you shouldn't have to make any change to the vcl_hash function.

    You mentioned you're looking to send 'back' the value of the cache key. Do you want it sent back to the origin or to the client making the request? 

    0
    Comment actions Permalink
  • Jack Forrester

    Justin thanks for your help. this helps with my appetizers project. i can see you do know what you're talking about so i was wondering if you can help me in case i'm going to have any questions. thanks in advance

    0
    Comment actions Permalink
  • Justin

    Hi Jack Forrester. Yes, I can help here if you've got a general question, but your best bet is to email support@fastly.com if you have a specific issue you want help with.

    0
    Comment actions Permalink

Please sign in to leave a comment.