Received: from mail-yb1-f187.google.com ([209.85.219.187]:52901) by stodi.digitalkingdom.org with esmtps (TLSv1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j1cie-0007Qd-F8 for lojban-list-archive@lojban.org; Tue, 11 Feb 2020 13:05:22 -0800 Received: by mail-yb1-f187.google.com with SMTP id 201sf9453905ybd.19 for ; Tue, 11 Feb 2020 13:05:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581455114; cv=pass; d=google.com; s=arc-20160816; b=MTVHyhYNtZOJy0Ki8O+fQAmf8SUPm+I14uOQY7ib5D6iIMXPu1lKL8PX4njQGv26a0 8gvmzwJbSo4JJNqremJcsP6fkgXpZGHE+0bna2YD+k291F2ZzcxdWSOpHrHdiepq4oey bs3gfZtvAr+E66vv34960LBcMlmJAW+XG7CTz6WI81OtUkxFdsaZ0p4gJ4qnejcC+/It 5LEGnyg1U0inFvyULZzbqnzA4o3S3+rE4WNvcgp8OgMuLD5dZvenJduFXoLWX3vvPafW hQY/oYxk54hW3FGDKEnPibq19CSYTnLC++UJivnUAo5Rd5T6mbfW39PA1vMrNoxf7ZQQ 3EUA== 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=1+Q1SqpXXim+hhHUO6sGH+3toO8hVf13G0UkHS+NGUg=; b=A8VxnUI9lPB0rf818ALk1DWc0NPdJHC+Pdyaf/vb31odjzVHNIOkCQfitejueHC3rV nyskKZYw7mys+o/pid15va7ueAnHX7V13ki46ctIzxrd/t33P1S5djnWFtnnkLTWp2hL tVWb2Lh9KCgpxKqeYjuUyUanVuWOlP7QOYy/jw+WMeZs1a4Jzy33R/pAMiodIhA9DIJc /FbIXHw6t6S8PPvbVcjgkuZ2Urmx44FFyNIyyorroPHqEfXWuzpRThyScjIMILTP32HT 46249IpLjzI9M0YFQoxlZWn8bxJvSrQ9ekn6l8GX9G6IFhNa/3DOK7rUR+X5Ppau2kPz hk8Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="B/i6bkl1"; spf=pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::22f 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=1+Q1SqpXXim+hhHUO6sGH+3toO8hVf13G0UkHS+NGUg=; b=rIcoyatJwDLix5R76sDcAuf80F6slS+2C0m5VXGfshZw5OauDI7f/gTMRgjMybFV3o 5SYFhdzkFcoCJdXetHbw3XBwAECQ9MLjabDOCbk2Y7ON8uILIkqlFYJP6fuGlD3eBdZ4 M7ddCcazOza9eYi/6zsoj/0evHi5idK3+d/jtd2ktWGPQTi4UVZg7JbvHfFp6JbfqEmI Yqc63qFjPb6NLhxp1BEZYn6iPHsrvq0AGdu3v6mqRu/moa9Krao3/GXDY91mjxJfEke7 pbU1yrrCnNHGwVJV70mW6vP5PV+G8+X5dpLOE8tU+Ai8AI5up+6cuYstwbMgxuYiFvsB sagQ== 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=1+Q1SqpXXim+hhHUO6sGH+3toO8hVf13G0UkHS+NGUg=; b=tIbpfEAFA95mrfI+UnGWx+8YTSjNwBO5eZpWutDAW9gW7RK4yyxBI+qMt/iRJhs4Al BLcza0d490iMb9hBqyHQYotj7abdvGB534o976k83y9yfMmkUKuoKpcLoNXBKAwUVe0h 1AQmNhFaE8g6xBZ6F9Zg/91ddY6F9obW1vwyHH9q8qro+i4OLSAyWpyf/YhCQri1hmqd 5DH6Edl2yfaN9WhWVmqcD61KTGXHxQHy/qj62ruuRRJJKodLUREfk5ANorJn+Gplif8C +Wx06BX0O1jZAn7vAdnWEWmhn9VJew/QbJfbGnPRbgePDBWzzqPDFP0mNHtU658IUAE8 Yy7A== 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=1+Q1SqpXXim+hhHUO6sGH+3toO8hVf13G0UkHS+NGUg=; b=UG9jVwVP7vi8ln0L5lEDrphSWBbQsRUoUcyjhEk6rogrjtkSL0+thXCWRrPWws7rnz SQS8r1cSw44oJpPU1Ch/DAT0cr8ji8dJxYSRClRnpn5v+ovP9rfsLt09jQJlFn820Sya OFDOzzgruAWkl3+hfHSEtcgouTtqdrrrAqvE193kyoPbkB1Rgn0Wi3cQfYj++LOo2dRY QWJ0NLMRlzjld0ezkG+wxrBliYat4r9Hyp7hBN1N1iIZIp6XJLniYAJf9B0m1hazyb7D GTXN/PhMQt19Ry7Xyk+WzdgPDEO/i0vyCwviF2C9qR7aaFPI/0sIIyajtWOuTSOE+glM dgKw== Sender: lojban@googlegroups.com X-Gm-Message-State: APjAAAW6nxNMUgqk4euwj2ifGjH2kAE0978VmDnFGZtvxqODnPnDK42g 9xSpQitAPG5iTR2kVLMthfE= X-Google-Smtp-Source: APXvYqxv0Su6nnAdA0lorUGhcfySYCS2nBJPRjHe92eKM4fi6OIqOxff/c4bqF6eRvC2tP9CRglz1g== X-Received: by 2002:a25:9883:: with SMTP id l3mr7657911ybo.242.1581455114222; Tue, 11 Feb 2020 13:05:14 -0800 (PST) X-BeenThere: lojban@googlegroups.com Received: by 2002:a0d:fc04:: with SMTP id m4ls2696995ywf.8.gmail; Tue, 11 Feb 2020 13:05:13 -0800 (PST) X-Received: by 2002:a81:bb54:: with SMTP id a20mr7844228ywl.408.1581455113671; Tue, 11 Feb 2020 13:05:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581455113; cv=none; d=google.com; s=arc-20160816; b=PbRN2zrVha6pwK1b2clfetwQrSoUJ3PYdqy/2CVml8KjHUL3Q7DQz5PPO7b6DHeGEN oEVxXnzGDOsY2jiK9fpWX7+DCRHXCTGtPLxidW+gH4eVgCNUdu9tadAiaCgCZ/351lXY 6lLfN6GU2TYAYyhg0Udpiu+r9SzGezyPbazHA/F3UKkWL+5QbqJrUGk8qpYFth5MtTeu dHR44Jbc0iJDE6EG2Fhk1EiVgTuCyZ2fhHuVGfBo6ztDTxZkthsnRvKReghVeF3+ZDPa YIiAhxNfIVQ0xo/E9trny0WazZ7sLJ2+7CZ4AtJBfpKUL1ZaHNlPxAS6a79nKsGqnfkJ 2N0g== 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=FEaI+R1nWDCeuBqanzkSc7959QvnCG8wyFv1utva3gI=; b=LhXY214tABqAinywKanf9lxdP1EgNHyHwpqKeV7j7qDJf+IeBNkhz0ElfqIV7MqINY SvhySVC18/6jfRcLthQDLrt4+QxmYN5NXRWrsbVN6tt7GwAcM9oEeZLPu6ihV3FRlgdI adTRJ1q+CswuLgEaVFBOs666p2Ju3X+rAnlCRTmKZaYgjp5AH/Km/v9FQTPDU9TzTU+a 5vYiN8iv4h4EAvoMbvVNR5wHus6uYypjIQ4XL3YTxTBvYGEQais7/+RCDeD8/2h05HhX r205HOhIYxoU69Vqgt2m2Y8GHNzuViv/wlTcTCZwJ7y9TrnhQHqpBzQ2/DJcPcnZHZFd qjwg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="B/i6bkl1"; spf=pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::22f as permitted sender) smtp.mailfrom=maikxlx@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com. [2607:f8b0:4864:20::22f]) by gmr-mx.google.com with ESMTPS id l1si189733ybt.2.2020.02.11.13.05.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Feb 2020 13:05:13 -0800 (PST) Received-SPF: pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::22f as permitted sender) client-ip=2607:f8b0:4864:20::22f; Received: by mail-oi1-x22f.google.com with SMTP id p125so14195204oif.10 for ; Tue, 11 Feb 2020 13:05:13 -0800 (PST) X-Received: by 2002:aca:4996:: with SMTP id w144mr3959422oia.111.1581455113112; Tue, 11 Feb 2020 13:05:13 -0800 (PST) MIME-Version: 1.0 References: <20200206062919.GU26741@stodi.digitalkingdom.org> <20200211065911.GC2023@stodi.digitalkingdom.org> In-Reply-To: <20200211065911.GC2023@stodi.digitalkingdom.org> From: "Mike S." Date: Tue, 11 Feb 2020 16:04:58 -0500 Message-ID: Subject: Re: [lojban] What's going with CloudFlare and caching and such. To: lojban@googlegroups.com Content-Type: multipart/alternative; boundary="0000000000003ed277059e5336dd" 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="B/i6bkl1"; spf=pass (google.com: domain of maikxlx@gmail.com designates 2607:f8b0:4864:20::22f 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: -- --0000000000003ed277059e5336dd Content-Type: text/plain; charset="UTF-8" On Tue, Feb 11, 2020 at 1:59 AM Robin Lee Powell < rlpowell@digitalkingdom.org> wrote: > > > > On Fri, Feb 07, 2020 at 07:58:58AM -0500, Mike S. wrote: > > On Thu, Feb 6, 2020 at 1:29 AM 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. > > > > > > > Judging from what I saw during the last outage, I believe > > Cloudflare is caching only pages that have been requested at least > > once. Assuming I am right about that, I don't know if there is a > > way to make Cloudflare cache the whole site without clicking > > through every page on the Wiki. By the way, I don't care about > > this issue since the site is up most of the time anyway, but since > > the whole point of the exercise is to cache pages and that doesn't > > necessarily happen, I thought I'd mention it! > > Yeah, you're absolutely right about that. For me the point is to > make it so that the *basics* are up no matter what. > As a side note, it dawns on me one could run a website-ripping tool to hit all the pages. > The specific complaints that I was receiving were about that the > site being down *entirely* sends a message to people unfamiliar with > the projec that it's dead. Which is not unreasonable: if I'd just > heard about a super-nerdy language and I went to the website and it > was down, I would in fact assume that the project was dead, > personally. > > > At any rate, your bypass rule for talk pages seems to be working okay. > > Since we don't know what the problem is, I suggest the following for a temp > > fix -- Please add the following rules in the proper location: > > > > *lojban.org/*LFK* Cache Level: Bypass > > *lojban.org/*[bypasscache]* Cache Level: Bypass > > > > The first line will help the new committee work on their pages. The second > > line will allow a person to work on an arbitrary page without the cache. > > When the page is finished, it can then be moved to the correct location. > > > > I *believe* these rules will be sufficient for the time being and get you > > off the hook. Your help is very much appreciated!. > > I'm actually wondering if we might want to go the other way: > explicitely cache the very static stuff (javascript, css, etc) and > then list specific pages that we don't mind caching long-term, like > the front page. > I was sorta wondering why it was done the way it was done. Are you using CloudFlare partly to minimize the load on your server? Also, does adding a "Bypass" rule for a page deactivate the cache entirely for that page? (That would obviously be very bad for some pages.) If the answer to both questions is no, why not bypass all dynamically generated pages like so: *lojban.org/papri/* Cache Level: Bypass *lojban.org/*php* 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 ... assuming, again, the caching mechanism continues to work, which we could test in order to be sure. The first line makes the whole Wiki live when accessed through the short URL. The second any pages directly invoking php, which includes page edits (which need to be bypassed). ^Just a thought. The LFK bypass rule is working (I know because I tested it) which makes the situation a lot better. Thanks. -- 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/CAOYwWb3JDuQvcX-e6SSKZhAt3Nrc5ss26D8fP3Sz%2B2YPNpgZJg%40mail.gmail.com. --0000000000003ed277059e5336dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue,= Feb 11, 2020 at 1:59 AM Robin Lee Powell <rlpowell@digitalkingdom.org> wrote:
>
>= ;
>
> On Fri, Feb 07, 2020 at 07:58:58AM -0500, Mike S. wrote:<= br>> > On Thu, Feb 6, 2020 at 1:29 AM Robin Lee Powell
> > &= lt;rlpowell@digitalkingdom.o= rg> wrote:
> >
> > > Some of you have noticed p= roblems with dynamic content on
> > > lojban.org now that we've started using CloudFlare.=C2=A0 I ha= ven't
> > > been able to figure out how to fix this, so her= e's what's going
> > > on; maybe somebody else will hav= e ideas.
> > >
> > > So the goal of CloudFlare, pri= marily, was to make it so that if
> > > my server went down, th= e site would be basically fine.=C2=A0 This we
> > > have acheiv= ed.
> > >
> >
> > Judging from what I saw dur= ing the last outage, I believe
> > Cloudflare is caching only page= s that have been requested at least
> > once. Assuming I am right = about that, I don't know if there is a
> > way to make Cloudfl= are cache the whole site without clicking
> > through every page o= n the Wiki.=C2=A0 By the way, I don't care about
> > this issu= e since the site is up most of the time anyway, but since
> > the = whole point of the exercise is to cache pages and that doesn't
> = > necessarily happen, I thought I'd mention it!
>
> Yeah= , you're absolutely right about that.=C2=A0 For me the point is to
&= gt; make it so that the *basics* are up no matter what.
>

As a= side note, it dawns on me one could run a website-ripping tool to hit all = the pages. =C2=A0



> The specific complaints that I was re= ceiving were about that the
> site being down *entirely* sends a mess= age to people unfamiliar with
> the projec that it's dead.=C2=A0 = Which is not unreasonable: if I'd just
> heard about a super-nerd= y language and I went to the website and it
> was down, I would in fa= ct assume that the project was dead,
> personally.
>
> &g= t; At any rate, your bypass rule for talk pages seems to be working okay.> > Since we don't know what the problem is, I suggest the foll= owing for a temp
> > fix -- =C2=A0Please add the following rules i= n the proper location:
> >
> > *lojban.org/*LFK* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Cache Lev= el: Bypass
> > *lojb= an.org/*[bypasscache]* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Cache Level: B= ypass
> >
> > The first line will help the new committee = work on their pages.=C2=A0 The second
> > line will allow a person= to work on an arbitrary page without the cache.
> > When the page= is finished, it can then be moved to the correct location.
> >> > I *believe* these rules will be sufficient for the time being an= d get you
> > off the hook.=C2=A0 Your help is very much appreciat= ed!.
>
> I'm actually wondering if we might want to go the = other way:
> explicitely cache the very static stuff (javascript, css= , etc) and
> then list specific pages that we don't mind caching = long-term, like
> the front page.
>

I was sorta wonderin= g why it was done the way it was done.=C2=A0 Are you using CloudFlare partl= y to minimize the load on your server? =C2=A0

Also, does adding a &q= uot;Bypass" rule for a page deactivate the cache entirely for that pag= e? (That would obviously be very bad for some pages.)

If the answer = to both questions is no, why not bypass all dynamically generated pages lik= e so:

*lojban.org/papri/* = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Cache Level: Bypass
*lojban.org/*php* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0C= ache Level: Bypass
*lojban.org/*=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Browser Cache TTL= : 30 minutes, Always Online: On, Cache Level: Cache Everything, Edge Cache = TTL: 2 hours, Origin Cache Control: Off

... assuming, again, the cac= hing mechanism continues to work, which we could test in order to be sure.<= br>
The first line makes the whole Wiki live when accessed through the s= hort URL.=C2=A0 The second any pages directly invoking php, which includes = page edits (which need to be bypassed).

^Just a thought.=C2=A0 The L= FK bypass rule is working (I know because I tested it) which makes the situ= ation a lot better.=C2=A0 Thanks.


--
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/CAOYwWb3JDuQvcX-e6SSKZhAt3Nrc5ss26D8fP3Sz%2B2YPNpgZJg%4= 0mail.gmail.com.
--0000000000003ed277059e5336dd--