Received: from mail-vk1-f185.google.com ([209.85.221.185]:37974) by stodi.digitalkingdom.org with esmtps (TLSv1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j7Rp9-0003i4-B2 for lojban-list-archive@lojban.org; Thu, 27 Feb 2020 14:40:13 -0800 Received: by mail-vk1-f185.google.com with SMTP id h197sf458606vka.5 for ; Thu, 27 Feb 2020 14:40:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1582843201; cv=pass; d=google.com; s=arc-20160816; b=M23XMWDl5vDi2tczzBpV2Q5oSB0o3n4YDuoz/uBkuOEfIEUjvgY+pWnPW3uwYRT1Bc qokcTnSy1n+y038TAyXPGihUmRTdpSRZAijFn+KTlRG9rrmnIbf0PCmVvNODnWWTdgb7 sbi1YdzDwhjg2C8niufC++1LrREt+s0bw5gy00reu+nQI6DmmZ90OofY6xJe/qEoJa08 x/OvveZ/FBuiENbHC7GD9Gogij6XkYGU/WCeGe6omp2v0wN36lEnReCl77qf1tsyQhpF GtuRtaPxAlfvoDwFXchRPsDhaFTFvtEqFS+do1eOd1p3hZMRDc3sAIAlv8AX1YZ8+ceN EX0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=bzW0fFqN8y75Ndm4C/Hi9pDXh5al5YmQLgpQUtWjCY4=; b=ukMPCCG7bXQyW8ml8+qvTr+dWQPv+X+7OAQSwG/6PdpywT4d3OhGFMqRSeFHomLe+s p4HlzfA3qeDwcGjaZesFHY1hHzhKAylcnGk9sLAAG3jauaBrldMd8QHFTvXhc19q3T/F GJZIx8UPheOFbsltDzddhmBaiSqt8hVcqDJQfb7wkq8E4ue1kOkK0jnzC1TacmDvx0xP qTOTz2yTo2boQe14ChxGjgEe2LtMqqKH3TxExR92p+3hUvNh6rG5LjZOsDuIpjKAU7Tk SqCiXPhOWPNBgvU771mqRpA375uDgtElH0DiGST7Cf8G3gqRpyeyXbfZm1EIM8ebByrA 9rBQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UueuL9hh; spf=pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=maikxlx@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=bzW0fFqN8y75Ndm4C/Hi9pDXh5al5YmQLgpQUtWjCY4=; b=aTmToTeQLSpwOgRAgp1Q0Jtva7ttSB16zCTbsfKtzUFe4NrSenBOAaQb+q4YRGZ18b 2KKuC1a/Kbl1D0xVJzlP9rycgSu9y7rC76IAXzMRcbbp8wHKG3SkpbWAiM/WpKJGWx1E qzq/9eZATkgCRsznTDhfsBbZCol4FH4CgrMdS2YYMGMDKo7D3O8cAIrKPO5Fa1nAfjvt cpNcvT5LWlkscb+wokg4Ab1jK1pdtUY4nrfM9vgvQol42i8dpQI3KaP1nrGndTjCLT/k S8thkp7OeKpB7L7NHmSKAigJSFo3bNRUjnHwtnkuQ+v3QD/wcFMpDzCDqmWWFJa84hkZ IWUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=bzW0fFqN8y75Ndm4C/Hi9pDXh5al5YmQLgpQUtWjCY4=; b=ibN5jNY/Ixr/Wddle2g526S2c08HtzBrPrkok6nQ/5fAlLs2G7ZUweIjZZ7vDAfQeO a03N0ivIDTF6oPg6msNawE6sJgoqwrWYnavcNe2c7rmqwwZ9CBv18uT4BBnN2mi0DcTx rbNIVm/fvon6E+okCIyq6sarAUZlAHeLkHDEptFAKqdWRwStL6d8btAtDm7GSLeEAmio CMBDhKPzrj2z1mpuu4k+Neaeoa67ZMFmoLQQwhnvMTDtIP/qasfXecO+dd17Hphw8H/w 2vtfEPBSKs9Unb8DCiANnZZptBZ9ZLSiTuCBd0YoxUvGZ9LxItQh/RShPXOQO4y9hqVY Qu0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=bzW0fFqN8y75Ndm4C/Hi9pDXh5al5YmQLgpQUtWjCY4=; b=aSHsdySdNdJpERevQUmEei5FddKiA0mqQaChDH9YtyMhrkH4CJ/zvKIaBFofsdeS3Y qp3q71iGuJlwrJCEf/OjWVTwRXP4NQkLp8L9Z6jyAN9xLpIGZrXuo9QA5kHHgmpt0jwR 12V0GM9KIj2JKZDyT1R1AVZTBHAU2ywYWdaanM5KKRjAONmJKGIszQXDwggToiVvpW5/ H5iWY55OnRc2uLB5rch1hrSlLD/N5dP6Gjvl9uwHCMRR6+WkW4NXA0v0ZRvDb9jkt8rS 3d1uSiRbzW+b6F9T68dLkyLVpKeSAAcaeKP/nXvdSKKNWlwmpoI0oWakmYaCDS3jiL+8 6vEA== Sender: lojban@googlegroups.com X-Gm-Message-State: ANhLgQ0t2wTyK69SgY1n4IF3lAPyDm7M5Kv/07eYEGQyQqF6PRqoHA8A 3gZcyb26FEsTHdUNEa+EuHs= X-Google-Smtp-Source: ADFU+vsIwO5JdO70h7II/s1PvZA8WP4LZ9hfCpjzwePYs6szt1KsoqEcF928JX0NgD+fQ6XQN9f1PA== X-Received: by 2002:a05:6122:10ea:: with SMTP id m10mr995628vko.74.1582843200926; Thu, 27 Feb 2020 14:40:00 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 2002:ac5:c5d7:: with SMTP id g23ls61626vkl.9.gmail; Thu, 27 Feb 2020 14:40:00 -0800 (PST) X-Received: by 2002:ac5:c314:: with SMTP id j20mr961980vkk.32.1582843200326; Thu, 27 Feb 2020 14:40:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582843200; cv=none; d=google.com; s=arc-20160816; b=dUWDmTCkBg2WPWCeqmIla6L3FA6vPWUcG1xY3qJV7gKezUfgv1cAO8SW7XECTaI64A 5adVHLrsFlkrNKP3pUTalHY011n74ETkUFnAlBlrmEh368owVb8m0zKmupXKga6rHT/k 0bmheKTt6nxp8UdhaWybRnhbTgICN8/syMY35SPBZE0NSYKnPpM8jJbadDb5etIKIGWj aTboVEWQBOionxqeCG89xVX8LPISsOjJnzhgv6UA6wXXPnXDzSrFC/eiVqdTP8+gKg9x s17JnXgMfMZO+rvOkOa5FyLr3Hq+jvNTP3yqupGGONo/trAoQa1AeKKEfiv+ybQBOjfA h9kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OojneGAvhNucLx079mi39gx06WIgqLNpS5uQnNGH3RE=; b=EvvehM2Ztpng0mXbGzvBzKqk+rQ3iocgKpxiVhpylQ4KFUIfAZSRSseJOjGnTtlv6f UkgaxYtiS1UYtfzi2IJs/Xu3QqWTNH3TgCod5G2ZVlw596y5IXK4M/U7+ZTfeMA+KWnd DdFtaEFbx14Mcsk7F0XF55wWuPXCqr4FE1AL0O67DqQf2DTnN5BCfI+cx8S0azRVO+IF 8K4mwPhIH6XOybDnE1hHDGPz7GPRPVmVaKmcZC973E/35jHRQYF11hJipDq6Jsj4SI+G 0d81sKqp+XCdt7Es2LkNrUYo8Ibu1bkmcISWIA4gdMqs2LJbkd4cx8cN/8a/EvyCTjJk tlzw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UueuL9hh; spf=pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=maikxlx@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com. [2607:f8b0:4864:20::334]) by gmr-mx.google.com with ESMTPS id i27si93092uat.1.2020.02.27.14.40.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Feb 2020 14:40:00 -0800 (PST) Received-SPF: pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::334 as permitted sender) client-ip=2607:f8b0:4864:20::334; Received: by mail-ot1-x334.google.com with SMTP id 59so763249otp.12 for ; Thu, 27 Feb 2020 14:40:00 -0800 (PST) X-Received: by 2002:a05:6830:10da:: with SMTP id z26mr878418oto.27.1582843199794; Thu, 27 Feb 2020 14:39:59 -0800 (PST) MIME-Version: 1.0 References: <20200206062919.GU26741@stodi.digitalkingdom.org> <20200226071539.GE4720@stodi.digitalkingdom.org> In-Reply-To: <20200226071539.GE4720@stodi.digitalkingdom.org> From: "Mike S." Date: Thu, 27 Feb 2020 17:39:50 -0500 Message-ID: Subject: Re: [lojban] Re: What's going with CloudFlare and caching and such. To: lojban@googlegroups.com Content-Type: multipart/alternative; boundary="000000000000a8b1ea059f96666f" X-Original-Sender: maikxlx@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UueuL9hh; spf=pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::334 as permitted sender) smtp.mailfrom=maikxlx@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: lojban@googlegroups.com X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -2.6 (--) X-Spam_score: -2.6 X-Spam_score_int: -25 X-Spam_bar: -- --000000000000a8b1ea059f96666f Content-Type: text/plain; charset="UTF-8" I ran some tests three days ago and it all seems good so far! -Mike On Wed, Feb 26, 2020 at 2:15 AM Robin Lee Powell < rlpowell@digitalkingdom.org> wrote: > How's the behaviour now? You should be seeing that logging in gets > you the live site without caching. > > On Fri, Feb 07, 2020 at 09:35:34AM -0800, la .eris. wrote: > > Personally, this is seeming like more trouble than it's worth. Pages > keep > > displaying improperly (looking like I'm not logged in, or like someone > else > > is logged in). I'd prefer to just have the site down when your server is > > down and have everything work properly the rest of the time. > > > > Incidentally, how do the Wikimedia Foundation wikis handle caching? > > > > -Aris (aka. bookofportals) > > > > On Wednesday, February 5, 2020 at 10:29:23 PM UTC-8, Robin Lee Powell > wrote: > > > > > > Some of you have noticed problems with dynamic content on lojban.org > > > now that we've started using CloudFlare. I haven't been able to > > > figure out how to fix this, so here's what's going on; maybe > > > somebody else will have ideas. > > > > > > So the goal of CloudFlare, primarily, was to make it so that if my > > > server went down, the site would be basically fine. This we have > > > acheived. > > > > > > However, to do so, I had to use brute force. Here's our CloudFlare > > > page rules: > > > > > > *lojban.org/*&* Cache Level: Bypass > > > *lojban.org/*edit* Cache Level: Bypass > > > *lojban.org/*Special:* Cache Level: Bypass > > > *lojban.org/*Talk:* Cache Level: Bypass > > > *lojban.org/* Browser Cache TTL: 30 minutes, Always Online: > On, > > > Cache Level: Cache Everything, Edge Cache TTL: 2 hours, Origin Cache > > > Control: Off > > > > > > That last one is a very large hammer that says "just cache the hell > > > out of everything". > > > > > > The reason I need that hammer is that mediawiki is returning > > > absurdly wrong caching headers. Here's an example that entirely > > > bypasses CloudFlare: > > > > > > $ curl -k -v -H 'Host: mw.lojban.org' -L > > > https://jukni.lojban.org/papri/pronunciation 2>&1 | less > > > [snip] > > > < HTTP/1.1 200 OK > > > < Date: Thu, 06 Feb 2020 06:26:31 GMT > > > < Server: Apache/2.4.38 (Debian) > > > < X-Powered-By: PHP/7.3.14 > > > < X-Content-Type-Options: nosniff > > > < Content-language: en > > > < Vary: Accept-Encoding,Cookie > > > < Expires: Thu, 01 Jan 1970 00:00:00 GMT > > > < Cache-Control: private, must-revalidate, max-age=0 > > > > > > ^^ That. That Cache-Control line is absurd, and effectively > > > completely disableds CloudFlare. > > > > > > I have tested this by talking *directly* to the mediawiki server, > > > no SSL, no proxies, no nothing; it's the same. > > > > > > Our LocalSettings.php file is attached. > > > > > > I don't care if the solution is on the mediawiki side or the > > > CloudFlare side, but at this point I've sunk more time into this > > > than I can afford and I've come up empty, so I'd appreciate any > > > ideas you might have. > > > > > > Having said that, if you're going to point me at > > > > https://www.mediawiki.org/wiki/Manual:CloudFlare#Integration_with_MediaWiki > > > , you'll need to tell me exactly which part you think is relevant, > > > and why. Most of that page is about making X-Forwarded-For: do the > > > right thing, which is totally irrelevant to this problem. > > > > > > Thanks for any help. > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "lojban" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to lojban+unsubscribe@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/lojban/d444e62c-2706-4bd5-ba06-84da52b2c69c%40googlegroups.com > . > > -- > You received this message because you are subscribed to the Google Groups > "lojban" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to lojban+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/lojban/20200226071539.GE4720%40stodi.digitalkingdom.org > . > -- You received this message because you are subscribed to the Google Groups "lojban" group. To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/lojban/CAOYwWb16CRY2o84Vp_D92rCr1zNJW-xZQu%2BPQ6BwbXfXKnPSKA%40mail.gmail.com. --000000000000a8b1ea059f96666f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I ran some tests three days ago and it all seems good so f= ar!
-Mike



On Wed, Feb 26, 2020= at 2:15 AM Robin Lee Powell <rlpowell@digitalkingdom.org> wrote:
=
How's the behaviour n= ow?=C2=A0 You should be seeing that logging in gets
you the live site without caching.

On Fri, Feb 07, 2020 at 09:35:34AM -0800, la .eris. wrote:
> Personally, this is seeming like more trouble than it's worth. Pag= es keep
> displaying improperly (looking like I'm not logged in, or like som= eone else
> is logged in). I'd prefer to just have the site down when your ser= ver is
> down and have everything work properly the rest of the time.
>
> Incidentally, how do the Wikimedia Foundation wikis handle caching? >
> -Aris (aka. bookofportals)
>
> On Wednesday, February 5, 2020 at 10:29:23 PM UTC-8, Robin Lee Powell = wrote:
> >
> > Some of you have noticed problems with dynamic content on lojban.org =
> > now that we've started using CloudFlare.=C2=A0 I haven't = been able to
> > figure out how to fix this, so here's what's going on; ma= ybe
> > somebody else will have ideas.
> >
> > So the goal of CloudFlare, primarily, was to make it so that if m= y
> > server went down, the site would be basically fine.=C2=A0 This we= have
> > acheived.
> >
> > However, to do so, I had to use brute force.=C2=A0 Here's our= CloudFlare
> > page rules:
> >
> > *lojban.org/*&*=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cache = Level: Bypass
> > *lojban.org/*edit*=C2=A0 =C2=A0 =C2=A0 =C2=A0Cache Level: By= pass
> > *lojban.org/*Special:*=C2=A0 Cache Level: Bypass
> > *lojban.org/*Talk:*=C2=A0 =C2=A0 =C2=A0Cache Level: Bypass <= br> > > *lojban.org/*=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Browser Cache= TTL: 30 minutes, Always Online: On,
> > Cache Level: Cache Everything, Edge Cache TTL: 2 hours, Origin Ca= che
> > Control: Off
> >
> > That last one is a very large hammer that says "just cache t= he hell
> > out of everything".
> >
> > The reason I need that hammer is that mediawiki is returning
> > absurdly wrong caching headers.=C2=A0 Here's an example that = entirely
> > bypasses CloudFlare:
> >
> > $ curl -k -v -H 'Host: mw.lojban.org' -L
> > https://jukni.lojban.org/papri/pronunciation 2>&1 | less
> > [snip]
> > < HTTP/1.1 200 OK
> > < Date: Thu, 06 Feb 2020 06:26:31 GMT
> > < Server: Apache/2.4.38 (Debian)
> > < X-Powered-By: PHP/7.3.14
> > < X-Content-Type-Options: nosniff
> > < Content-language: en
> > < Vary: Accept-Encoding,Cookie
> > < Expires: Thu, 01 Jan 1970 00:00:00 GMT
> > < Cache-Control: private, must-revalidate, max-age=3D0
> >
> > ^^ That.=C2=A0 =C2=A0That Cache-Control line is absurd, and effec= tively
> > completely disableds CloudFlare.
> >
> > I have tested this by talking *directly* to the mediawiki server,=
> > no SSL, no proxies, no nothing; it's the same.
> >
> > Our LocalSettings.php file is attached.
> >
> > I don't care if the solution is on the mediawiki side or the =
> > CloudFlare side, but at this point I've sunk more time into t= his
> > than I can afford and I've come up empty, so I'd apprecia= te any
> > ideas you might have.
> >
> > Having said that, if you're going to point me at
> >
https://www.med= iawiki.org/wiki/Manual:CloudFlare#Integration_with_MediaWiki
> > , you'll need to tell me exactly which part you think is rele= vant,
> > and why.=C2=A0 Most of that page is about making X-Forwarded-For:= do the
> > right thing, which is totally irrelevant to this problem.
> >
> > Thanks for any help.
> >
>
> --
> You received this message because you are subscribed to the Google Gro= ups "lojban" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email to lojban+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid= /lojban/d444e62c-2706-4bd5-ba06-84da52b2c69c%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lojban/2020= 0226071539.GE4720%40stodi.digitalkingdom.org.

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsub= scribe@googlegroups.com.
To view this discussion on the web visit https://groups.google= .com/d/msgid/lojban/CAOYwWb16CRY2o84Vp_D92rCr1zNJW-xZQu%2BPQ6BwbXfXKnPSKA%4= 0mail.gmail.com.
--000000000000a8b1ea059f96666f--