compute@edge: Manipulating the cache key in Rust




    Hi Geordie,

    Did you come up with a solution for this?

    I Found the reference for the CacheOverride enum that you also refer to (

    From what i can see (and understand 😅), It's a way to set the Surrogate Key, which seems to be happening under the hood from the HTTP Header.

    So, what i'm looking for, is the equivalent of the vcl_hash. In my case I want to be able to have control over the cache key for GraphQL request.

    Hope you found the missing piece 😊

    Comment actions Permalink
  • Geordie Jay

    Interesting- I couldn’t find any reference to it in the 0.6.0 docs. I got in touch with fastly Support directly and they told me it’s currently not possible. As unsatisfying as that is I guess that’s the answer until further notice

    Comment actions Permalink
  • Adrian

    Hello Geordie Jay and WE ARE HEAVY

    You are correct that we do not currently support manipulating the cache key with Compute@Edge. It is a functionality we plan to provide in the future, but it is unavailable at this time. 

    Comment actions Permalink

Please sign in to leave a comment.