Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Caching a web query?

Received: by 10.50.153.230 with SMTP id vj6mr6036929igb.3.1349188014574;
        Tue, 02 Oct 2012 07:26:54 -0700 (PDT)
X-BeenThere: symfony1@googlegroups.com
Received: by 10.42.91.75 with SMTP id o11ls1055511icm.2.gmail; Tue, 02 Oct
 2012 07:26:52 -0700 (PDT)
Received: by 10.50.104.166 with SMTP id gf6mr3168323igb.1.1349188012331;
        Tue, 02 Oct 2012 07:26:52 -0700 (PDT)
Received: by 10.50.104.166 with SMTP id gf6mr3168322igb.1.1349188012321;
        Tue, 02 Oct 2012 07:26:52 -0700 (PDT)
Return-Path: <fe...@f76.eu>
Received: from mail-ia0-f175.google.com (mail-ia0-f175.google.com [209.85.210.175])
        by gmr-mx.google.com with ESMTPS id us14si174951igb.3.2012.10.02.07.26.52
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 02 Oct 2012 07:26:52 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.210.175 is neither permitted nor denied by best guess record for domain of fe...@f76.eu) client-ip=209.85.210.175;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.210.175 is neither permitted nor denied by best guess record for domain of fe...@f76.eu) smtp.mail=fe...@f76.eu
Received: by iacb35 with SMTP id b35so762678iac.34
        for <symfony1@googlegroups.com>; Tue, 02 Oct 2012 07:26:52 -0700 (PDT)
        d=google.com; s=20120113;
        h=mime-version:sender:x-originating-ip:in-reply-to:references:from
         :date:x-google-sender-auth:message-id:subject:to:content-type
         :x-gm-message-state;
        bh=02ztSSYEDNqBhcxLEl9mEgQ8ZnDmc1mgf7NCDNtsDeo=;
        b=XqPABL1aAixQFiiq15ANzFM75nejOFa6p0CczqlXLeXdXphnCjBGTJr2t9XHiWTPNX
         hpx5JpX7naa9oAEfOT04pa6wwbTHIu+3YERTUgUtgEGe2BOBMoyD9BalQ/WMfDGcH/Th
         kdzyRRQGVX8jrXo9DUyRd/2XgxaUlN19rjpZ6wl9VrqUN9AnNUGSiPq+Zd3Z8kF8VnrR
         GbVYR2zZZPGgwNZkB7EedSxz+ExA9/3NeGCy3m174qQLR9WWoEaasRZ+PnLofIyH/ZpA
         GYPxhaBBu5e3L65RsMYtLB0LzDlSwkwS9De4iQ0Cr0nxjfgR/ARvogqr0RVsqRo9cHM8
         VdJw==
Received: by 10.50.169.100 with SMTP id ad4mr8566966igc.50.1349188011956; Tue,
 02 Oct 2012 07:26:51 -0700 (PDT)
MIME-Version: 1.0
Sender: fe...@f76.eu
Received: by 10.64.18.13 with HTTP; Tue, 2 Oct 2012 07:26:21 -0700 (PDT)
X-Originating-IP: [87.164.216.217]
In-Reply-To: <CA+m_8J1NR3PM1BmvDGLvd3QnrQk0tTbUCY1k9D0c9xWEWkQ...@mail.gmail.com>
References: <CA+m_8J1xReyvnwnE=guRkvMav49MxmgnXHk1Di3Fa3558RC...@mail.gmail.com>
 <1258941267-1349157162-cardhu_decombobulator_blackberry.rim.net-2305698...@b11.c20.bise7.blackberry>
 <CA+m_8J3nc8v+oseJbsAvkJip6vMFwB5+h7iFmy9HR5C8+tM...@mail.gmail.com> <CA+m_8J1NR3PM1BmvDGLvd3QnrQk0tTbUCY1k9D0c9xWEWkQ...@mail.gmail.com>
From: "Felix E. Klee" <felix.k...@inka.de>
Date: Tue, 2 Oct 2012 16:26:21 +0200
Message-ID: <CA+m_8J2r9am5huo4DGDeLy7smaSKHr=sW3Po+sSEDdJNp=J...@mail.gmail.com>
Subject: Re: [symfony1] Caching a web query?
To: symfony1@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmvlTvxXJ3upNmbQF5DEJs9TF1tGq7yGI9EJPsxEYxAALl0Tc9dHQ2mbuznTqoJCOvbDUua

On Tue, Oct 2, 2012 at 12:09 PM, Felix E. Klee <felix.k...@inka.de>
wrote:
> I could keep the timeout expiration time in memcache [...]

Facepalm! I could just use the timestamp of the file with the rates
instead.

I am also investigating using the caching system that Symfony uses for
configuration data.