Proxy Caching: Serve Safe Stale Assets and Pages
Cache static assets and API answers at the proxy with stale-while-revalidate so a slow or broken upstream never becomes a slow user experience.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Cache static assets and API answers at the proxy with stale-while-revalidate so a slow or broken upstream never becomes a slow user experience.
Keep local sendmail and cron working, but hand the public hop to SES, Mailgun, or Postmark. Postfix sasl_passwd and smtp_tls are the whole design.
Publish a laptop or lab port through a Lucknow VPS with ssh -R, bind it on localhost, and keep the tunnel alive without opening the lab to the internet.
Bind a local 7B to loopback, cap RAM and threads with systemd, and let only your app call it so private prompts never leave a Lucknow VPS host.
SQLite B-tree indexes match left-most prefixes, so LIKE with a leading percent cannot seek; use suffix indexes, FTS, or a stored reverse column.
Compare HTTP-01 and DNS-01 ACME challenges, pick the one that fits nginx on a VPS versus wildcards, and avoid the common failure modes of each.
Pull a docs repo, chunk the diff, embed new blobs, and upsert by path so your local VPS RAG index tracks git instead of a full nightly rebuild.
Compare classic cron with systemd timers for scheduling recurring jobs, and learn when each fits better.
NixOS rebuilds a whole server from one declarative file: packages, services, users, and firewall in code, with rollbacks that make changes boring.
Replace Google Analytics with Umami, a cookieless self-hosted analytics tool with a Postgres backend, real-time dashboards, and no consent banners.
Apply the four IaC principles — declarative, version-controlled, reviewable, testable — to stop infrastructure drift and sketchy manual changes.
See how context length grows KV cache RAM and slows prompt eval on a CPU VPS so you can pick 2k, 4k, or 8k windows without an OOM on 8 GB RAM.