I've built a Cloudflare Worker for highly optimized caching on shared hosting. It aims for dedicated-server-level performance via Cloudflare's edge. The Worker intercepts requests, using a multi-faceted caching strategy that goes beyond basic CDN. It controls exactly what's cached and for how long, unlike standard caching methods. #Cloudflare #CloudflareWorker #Caching #PerformanceOptimization #Tech #IT

So it turns out you can get CEC by publishing open source tools and well I needed a tool so.. Here is a cloudflare worker to help with API troubleshooting
https://github.com/theHastyOne/APITool
https://apihelp.hasty.systems/

Thanks for keeping my CEH up to date.

#ECE #cloudflare #cloudflareworker #FOSS

GitHub - theHastyOne/APITool: A cloudflare worker designed to show REST API data submitted to check for errors.

A cloudflare worker designed to show REST API data submitted to check for errors. - GitHub - theHastyOne/APITool: A cloudflare worker designed to show REST API data submitted to check for errors.

GitHub
I guess some request headers are more trustworthy than others.

There's a subset of request headers that can't be modified by a spec-compliant user agent. Let's explore why they're useful for determining how and for what purpose a request was triggered.

Alex MacArthur

Help Needed with Cloudflare Zero Trust, Pages, and Workers for ReactFlux + MiniFlux Setup

Hi everyone,

I'm new to #Cloudflare and have been trying to set up a #SelfHosted project on my #RaspberryPi 500. I'm mostly self-taught, so I apologize if I misunderstand anything or miss important details. Here's my situation:

Current Setup

  • I'm running the self-hosted #RSS feed reader #MiniFlux on my Raspberry Pi 500 (#ArchLinuxARM, installed via Pacman).
  • The setup uses #Caddy as a reverse proxy, a #CloudflareZeroTrust tunnel, and Cloudflare Access for SSO.
  • My #CloudflareAccess application is configured to allow all origins, methods, and headers. It has a policy that allows specific emails or login methods (e.g., GitHub).

What I'm Trying to Do

  • I want to deploy ReactFlux, an alternative frontend for MiniFlux, on #CloudflarePages.
  • Before setting it up fully, I tested the ReactFlux demo with my MiniFlux instance at https://rss.laniecarmelo.tech. However, ReactFlux couldn't log in.

Suspected Issue

I believe the issue is caused by Cloudflare Access protection blocking ReactFlux from accessing the MiniFlux API (https://rss.laniecarmelo.tech/v1/*).

What I've Tried So Far

  • I added another hostname (rss.laniecarmelo.tech/v1/*) to my tunnel configuration and created a new Cloudflare Access application with a policy set to "Bypass" for everyone. However, this didn't work—when testing the API endpoint in a private browser window, I'm still asked to sign into Cloudflare.
  • I also tried setting up the hostname with "Protect with Access" turned off but got the same results.
  • Next, I attempted to use a #CloudflareWorker written in JavaScript to bypass authentication for /v1/*, but it doesn't seem to be doing anything (or isn't being triggered).
  • What I Need Help With

    • How can I properly configure Cloudflare so ReactFlux can access the MiniFlux API (/v1/*) while keeping the rest of my MiniFlux instance protected by Cloudflare Access?
    • I've been stuck on this for a couple of days and would really appreciate any guidance or suggestions!

    Thanks in advance for your help!

    #SelfHosting #ArchLinux #Linux #RSSReader #tech #technology #RaspberryPi #RPi #RPi500 #RaspberryPi500
    @selfhosting @selfhost @selfhosted

    ReactFlux

    A Simple but Powerful RSS Reader for Miniflux