About
Bejamas is a web development shop focused on helping agencies and companies with serverless web, headless CMSs, static site generators & JAMstack tools. Our key mission is to deliver lightning fast, scalable and secure statically-hosted websites and applications.
Why Workers?
We use Cloudflare Workers and the HTMLRewriter to help us customize a response for the user. Based on the cookies we modify body class and apply proper color theme. Besides that, we use Workers KV to catch and store 3rd-party scripts and proxy it to improve the downloading time of the popular analytics scripts.
Since we are using Gatsby, our website is fully static. It means we need to rebuild it each time we change the content or code. We run Cloudflare Wrangler on the CI/CD to upload new files to the CDN.