alex Na

  • Total activity 26
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 8

Posts

Recent activity by alex Na Sort by recent activity Recent activity Votes
  • Removing a header: unset vs remove?

    I was wondering what is the difference between unset resp.http.X-Powered-By; and remove resp.http.X-Powered-By;. They both seem to achieve the same thing - removing the HTTP header X-Powered-By.

  • Logging variable in request

    I’m currently using vcl_log to log values from vcl_recv. I basically create an HTTP header (e.g. set req.http.X-Foo-Bar = value;) in vcl_recv and then read it in vcl_log while generating the log me...

  • Accessing query string parameters

    Cookies can be read using the following syntax: req.http.Cookie:user_id. Is there anything similar for query string parameters (e.g. req.url.qs:user_id)? So far I’ve been extracting values with a ...

  • Unset before variable set

    Reading the guide for Delivering different content to different devices, I noticed that the suggested VCL does the following: unset req.http.X-UA-Device; unset req.http.X-UA-Vendor; set req...

  • Removing X-Cache, X-Served-By from HTTP Header

    Hi, I tried to remove X-Cache, X-Served-By HTTP from the HTTP headers by adding the remove statements on the bottom of vcl_deliver but they are still showing up in the HTTP headers. This is what I...

  • Having multiple Set-Cookie

    Hi, My origin is sending a response like: Set-Cookie: cookie1=500; Domain=.mydomain.com; Max-Age=31536000; Path=/ Set-Cookie: cookie2=500; Domain=.mydomain.com; Max-Age=31536000; Path=/ When I ...

  • Heroku add-on vs normal account

    Since the Heroku add-on does not give access to the standard console GUI, I was wondering if instead of getting the add-on I would be better off getting a regular account and then figuring it out h...