Phoenix's Default Cache-Control and the Check It Breaks
Plug sets cache-control on every response, so a check for a missing header never matches. How I fixed it on this site and what each page sends now.
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Writing · Tag
36 posts on Elixir, page 1 of 3. Or browse the full writing index →
Plug sets cache-control on every response, so a check for a missing header never matches. How I fixed it on this site and what each page sends now.
Exit code 137 means SIGKILL, and memory is only one sender. On one Phoenix project I hit it twice: a compile that ran out of RAM, and a binary that never ran.
Eight eMudhra CA keys were guessable. Browsers blocked them in hours. Req reads CAs from the OS first, so bumping castore usually does nothing. Here's the fix.
This site has no database. Here's how a future-dated post stays invisible until its timestamp, and the three places the gate gave the wrong answer anyway.
This site has no Ecto, no Repo, no database at all. Here's how the newsletter signup works when the system of record is a third-party API, not a table.
Discord and Supabase publish Elixir libraries. What each solves, whether it is still maintained in 2026, and whether a small team should depend on it.
A viral infographic ranked 15 companies using Elixir by valuation. Fact-checked: nine rows hold up, three are stale or unsupported, four name the wrong system.
Cisco NSO and ConfD run their core on Erlang. Why the network-automation world never noticed, and where the BEAM actually fits this domain.
Ecto schemaless changesets as the pre-execution trust boundary on LLM tool-call arguments, not another output-shape validator.
How Oban actually fetches jobs, notifies workers, and elects a leader, plus the VACUUM cost nobody mentions. Read from oban-bg/oban v2.23.1, not the README.
An append-only Ecto schema for LLM calls, the fields an auditor actually samples, and why provider request IDs are what makes an entry defensible.
LLM providers cap tokens per minute too, and you can't count a response's tokens before it lands. Size a Hammer bucket that never sends the call that 429s.