[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] What's going with CloudFlare and caching and such.




On Tue, Feb 11, 2020 at 4:04 PM Mike S. <maikxlx@gmail.com> wrote:
>
>
> 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).

I don't think this setup is going to work based on my reading of the docs at https://support.cloudflare.com/hc/en-us/articles/218411427-Understanding-and-Configuring-Cloudflare-Page-Rules-Page-Rules-Tutorial- which says pretty plainly

Cache Level - Bypass - Cloudflare does not cache.

There must be a way to do it though.  It's an obvious use case.  I'll read the docs more a little later.  Are you using the free plan or a paid one?

-Mike



--
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/CAOYwWb2d6H0xB%2BJSx36Z6Q0_Epa2Qj-D4t%3DRFnh%3D3AJi9eV5hA%40mail.gmail.com.