rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Lee Hambley <lee.hambley@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: Rack and Varnish
Date: Mon, 25 Apr 2011 16:20:23 +0200	[thread overview]
Message-ID: <BANLkTikP72KgbVrr+=xZA6SR3acKWPfpag@mail.gmail.com> (raw)
In-Reply-To: <6ff70823-74e4-41cc-a313-8c3ff6ff5177@a21g2000prj.googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]

>
> like a "restart" for the request, which would give Varnish a chance to
> kick in before we bother Rails


Sure, so redirect the user… or have your middleware get the page from Rack
for them, and return it (and beware of the significant performance hit, of
having your Ruby stack process cached pages… but at least it wouldn't hit
your Rails app)

[-- Attachment #2: Type: text/html, Size: 542 bytes --]

      reply	other threads:[~2011-04-25 14:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-25  3:59 Rack and Varnish froom
2011-04-25  8:32 ` Lee Hambley
2011-04-25 13:24   ` froom
2011-04-25 14:20     ` Lee Hambley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTikP72KgbVrr+=xZA6SR3acKWPfpag@mail.gmail.com' \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).