Ilya Kaplan

  • Total activity 18
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 6

Activity overview

Latest activity by Ilya Kaplan
  • Ilya Kaplan commented,

    What happens is that when the VCL is run after the restart req.url is new, so `req.http.x-original-url = req.url` saves the new url as `x-original-url`. I suggest you do: if (!req.http.x-original-u...

  • Ilya Kaplan commented,

    Wow, that's great idea substracting age from my ttl. I assume I'd need std.atoi for that, but it seems easy. Also I'd need to do this math again on edge's vcl_deliver in order to set right cache co...

  • Ilya Kaplan created a post,

    Mixing beresp.ttl and Expires header

    I’m trying to implement constant cache time that won’t be affected by the fact that shield is configured. Usually, if I set 1h TTL it might be up to 2 hours of real TTL if edge hits shield at the e...

  • Ilya Kaplan created a post,

    Running vcl_recv and vcl_deliver on shield seems redundant

    So it’s kind of abstract question. I know that shield works exactly as any other node and runs same VCL and that’s why we need all these complex conditions " if (!req.http.fastly-ff) {…} ", don’t c...

  • Ilya Kaplan created a post,

    Http/2 push, preload and esi

    Hi there, After reading the HTTP/2 server push documentation, I have couple of questions related to different variations of options that it supports. First of all the relation of push mechanism an...

  • Ilya Kaplan created a post,

    Is it OK to have duplicate keys in Surrogate-Key?

    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 d...

  • Ilya Kaplan commented,

    Why not do delayed flush. I.e. purge immediatey, then, using resque or any other scheduler, purge after a second and again after minute. Is there any guarantee on s3 update?

  • Ilya Kaplan commented,

    You can leverage Fatly's cryptographic functions, like digest.hmac_sha256(key, message), have shared secret key between your servers and VCL and use any user's info as message - id, email, id+passw...

  • Ilya Kaplan commented,

    Hi Justin, I ping with this question every now and then. Is there any plan to fix ESI with GZip limitation? After all Varnish 3 does support it. Now question related to workaround mentioned here....

  • Ilya Kaplan created a post,

    Using capture groups in regexp replace

    I need to replace url like this: /some/prefix/url /url/secret-suffix I’m doing it now with 2 separate rules: regexp replace “^/some/prefix” with “” append “/secret-suffix” What I’d do if group...