Return-Path: X-Original-To: apmail-perl-modperl-archive@www.apache.org Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7DC71878E for ; Mon, 7 Sep 2015 20:22:55 +0000 (UTC) Received: (qmail 77099 invoked by uid 500); 7 Sep 2015 20:22:55 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 77054 invoked by uid 500); 7 Sep 2015 20:22:55 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 77044 invoked by uid 99); 7 Sep 2015 20:22:55 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2015 20:22:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7F72FC03F6 for ; Mon, 7 Sep 2015 20:22:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.981 X-Spam-Level: *** X-Spam-Status: No, score=3.981 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id tYoSN0V00JJP for ; Mon, 7 Sep 2015 20:22:48 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1AEA120925 for ; Mon, 7 Sep 2015 20:22:48 +0000 (UTC) Received: by wicgb1 with SMTP id gb1so55989782wic.1 for ; Mon, 07 Sep 2015 13:22:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mbNjCpcV9YprpR5GC7iM6c/OJFOpA2D2YiMLiD6Jgg4=; b=BNF3P3mD3NHj2hrI9uJAQFJy/Ndo4Zrkblq1PJ0+HlTvnqiCi8jI7R2h7Auj46i8jB LchJNZnnhV5GrNB+F0YFHlhQTv3iQIAehX0Qyhu3yId1lFkGUykLVSxpgRtVavxC3qtJ WEeIyVxXQHYLUACkFqbeP3clf2uI/2UqdGH+VhIHaU5EK+5CCxyUJo0CWxeNBnDRas2D nUNFfKhoc98LSymfvIRie5nov+Nk415SnaVf66wMJmsZkxV8ErNYWXUJUs9B1g/8cSyI 6ejNgMwPa3Qhh8tZGHCbBVZvRvhPk87mEDoOPVWSP0hq56hxqy5XlnvCp+e9ksUqxKdb MoVA== X-Gm-Message-State: ALoCoQlO/P4OuFNBPUwUcfIJQaDRqTKvQlf5OLVa8dQNfUnVAXu5OqLl2e4KCiGsqutQP9P+iQVj MIME-Version: 1.0 X-Received: by 10.180.108.136 with SMTP id hk8mr36795422wib.47.1441657367807; Mon, 07 Sep 2015 13:22:47 -0700 (PDT) Received: by 10.28.60.66 with HTTP; Mon, 7 Sep 2015 13:22:47 -0700 (PDT) In-Reply-To: <55EDF05B.40607@Web-ICT.com> References: <55EDF05B.40607@Web-ICT.com> Date: Mon, 7 Sep 2015 16:22:47 -0400 Message-ID: Subject: Re: no_cache(1) From: Paul Silevitch To: Michel Jansen Cc: modperl Content-Type: multipart/alternative; boundary=e89a8f3ba33d4be040051f2e03f5 --e89a8f3ba33d4be040051f2e03f5 Content-Type: text/plain; charset=UTF-8 Hello Michel, Are you calling $r->no_cache before any response data has been sent? When you say the browser receives a '0' in the response, what do you mean exactly? Thanks, Paul On Mon, Sep 7, 2015 at 4:15 PM, Michel Jansen wrote: > if i add $r->no_cache(1) to an ajax responder perl script the browser > receives a 0 in the response, what am i doing wrong? > > > Regards, > > Michel > --e89a8f3ba33d4be040051f2e03f5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Michel,

Are you calling $r->no= _cache before any response data has been sent?=C2=A0 When you say the brows= er receives a '0' in the response, what do you mean exactly?
<= div>
Thanks,

Paul

On Mon, Sep 7, 2015 at 4:15 PM, Michel Jan= sen <Michel.Jansen@web-ict.com> wrote:
=20 =20 =20
=20 if i add $r->no_cache(1) to an ajax responder perl script the browser receives a 0 in the response, what am i doing wrong?


Regards,

Michel

--e89a8f3ba33d4be040051f2e03f5--