<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Adam Mohamed</title>
    <description>The latest articles on DEV Community by Adam Mohamed (@aerobyte).</description>
    <link>https://dev.to/aerobyte</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4283836%2F0f46a27a-099b-4172-9e6e-495be6e2a549.png</url>
      <title>DEV Community: Adam Mohamed</title>
      <link>https://dev.to/aerobyte</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aerobyte"/>
    <language>en</language>
    <item>
      <title>A small company site doesn't need a framework. It needs a budget for the boring parts.</title>
      <dc:creator>Adam Mohamed</dc:creator>
      <pubDate>Sat, 05 Dec 2026 02:59:58 +0000</pubDate>
      <link>https://dev.to/aerobyte/a-small-company-site-doesnt-need-a-framework-it-needs-a-budget-for-the-boring-parts-3bco</link>
      <guid>https://dev.to/aerobyte/a-small-company-site-doesnt-need-a-framework-it-needs-a-budget-for-the-boring-parts-3bco</guid>
      <description>&lt;p&gt;Most "we need a new website" conversations start with a technology question. They should start with a maintenance question.&lt;/p&gt;

&lt;p&gt;I run a small web studio in Cairo. The sites we build are for companies of five to fifty people: a landing page, a handful of product or service pages, a contact route, sometimes a small internal tool behind a login. After a few projects, the same pattern repeats: the parts that break are almost never the parts we spent the most time choosing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three things that actually break
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Content edits.&lt;/strong&gt; A site goes live with copy that took three weeks to approve, and then someone needs to change a phone number. If that requires a developer, a branch, a build and a deploy, the number stays wrong for a month. This is the most common failure I see, and it has nothing to do with the framework.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The contact path.&lt;/strong&gt; Forms fail quietly. The endpoint returns 500, the page says "thanks", and nobody notices for a week. For a small company, the contact form is the entire point of the site, and it is usually the least tested part of it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Traffic and cost.&lt;/strong&gt; A page that is fine at fifty visitors a day can fall over at five thousand, and a page that survives five thousand can cost real money to serve if every request hits a database.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I budget for instead
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Server-rendered or static HTML first.&lt;/strong&gt; If the content changes daily and the pages are public, you do not need a client-side application. Ship HTML, cache it at the edge, and keep the JavaScript for the places where it earns its keep: search, filtering, a form with validation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A contact path with a real queue and an alert.&lt;/strong&gt; A form post goes to a small endpoint that writes to a queue and sends a notification. If the queue is empty for a day, someone gets an email. That is the whole feature, and it is worth more than a page of animation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One named owner for the domain, the DNS and the analytics.&lt;/strong&gt; Not "the agency". A person at the company who can log in, with credentials stored somewhere the company controls. Handovers go wrong when nobody can prove who owns the name.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A rollback that takes one command.&lt;/strong&gt; Deploys fail. The question is whether the site is down for two minutes or two hours.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where a framework does earn its place
&lt;/h2&gt;

&lt;p&gt;I am not arguing against frameworks. They pay for themselves when you have authenticated users, complex state, or a team of several developers who need conventions. They also pay for themselves when the product &lt;em&gt;is&lt;/em&gt; the interface. What they rarely pay for is a five-page brochure site with a contact form, where the build tooling becomes a second system to maintain.&lt;/p&gt;

&lt;p&gt;The honest test: can one person, on a laptop, explain every moving part of this site in ten minutes? If not, the site is carrying weight it does not need.&lt;/p&gt;

&lt;h2&gt;
  
  
  A short checklist before you hire anyone
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Who can change the homepage text without a developer, and how long does it take?&lt;/li&gt;
&lt;li&gt;What happens if someone submits the contact form at 2am and the endpoint is down?&lt;/li&gt;
&lt;li&gt;Where does the site run, and what does a 20x traffic day cost?&lt;/li&gt;
&lt;li&gt;Who owns the domain, the DNS and the analytics account, in writing?&lt;/li&gt;
&lt;li&gt;What is the rollback plan for a bad deploy?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of these questions are about technology choices. All of them decide whether the site is still working a year after launch.&lt;/p&gt;

&lt;p&gt;If you are briefing a studio, or writing the brief yourself, those five answers are a better starting point than a stack diagram.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;AeroByte is a small web studio in Cairo. We build sites for companies that want the boring parts done properly: &lt;a href="https://aerobyte.pages.dev" rel="noopener noreferrer"&gt;aerobyte.pages.dev&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdevarchitecturebusiness</category>
    </item>
    <item>
      <title>Shipping a small company site that survives traffic spikes</title>
      <dc:creator>Adam Mohamed</dc:creator>
      <pubDate>Sat, 05 Dec 2026 02:23:38 +0000</pubDate>
      <link>https://dev.to/aerobyte/shipping-a-small-company-site-that-survives-traffic-spikes-1j22</link>
      <guid>https://dev.to/aerobyte/shipping-a-small-company-site-that-survives-traffic-spikes-1j22</guid>
      <description>&lt;p&gt;A small company site does not need a server. It needs to stay up when someone links to it, load fast on a mid-range phone in Cairo, and not leak obvious security mistakes. Here is the setup I use for our studio site, and why each part is there.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Static first
&lt;/h2&gt;

&lt;p&gt;The site is plain HTML, CSS and a small amount of JavaScript. There is no application server, no database on the request path, and nothing to crash under load. The only moving parts are the CDN and DNS. For a marketing site with a contact form, that is the whole requirement.&lt;/p&gt;

&lt;p&gt;If a page can be generated at build time, generate it at build time. Every request that never reaches your code is a request that cannot fail.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Cache the things that never change, and only those
&lt;/h2&gt;

&lt;p&gt;The rule that gave the biggest win:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fingerprinted assets (CSS, JS, fonts, images): &lt;code&gt;Cache-Control: public, max-age=31536000, immutable&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;HTML: short TTL, revalidated on every deploy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Long-lived caching on hashed filenames means repeat visitors load almost nothing. Short-lived caching on HTML means a deploy goes live immediately instead of leaving people on a stale page for a day.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Send the security headers, even on a static site
&lt;/h2&gt;

&lt;p&gt;Static does not mean safe. A &lt;code&gt;_headers&lt;/code&gt; file (Cloudflare Pages) or the equivalent config on any host covers most of it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/*
  X-Content-Type-Options: nosniff
  X-Frame-Options: SAMEORIGIN
  Referrer-Policy: strict-origin-when-cross-origin
  Permissions-Policy: geolocation=(), microphone=(), camera=()
  Strict-Transport-Security: max-age=31536000; includeSubDomains
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then a content security policy on top, starting permissive and tightening until nothing breaks. Keep &lt;code&gt;unsafe-inline&lt;/code&gt; out of scripts; move inline handlers into a file.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Force HTTPS and one canonical host
&lt;/h2&gt;

&lt;p&gt;Pick &lt;code&gt;example.com&lt;/code&gt; or &lt;code&gt;www.example.com&lt;/code&gt;, redirect the other, and redirect HTTP to HTTPS at the edge. Two live hostnames means split analytics, split cookies and duplicate content in search.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Keep JavaScript honest
&lt;/h2&gt;

&lt;p&gt;Most of the weight on a small site is a framework nobody needed, plus a chat widget, plus two analytics tags. Load fonts with &lt;code&gt;font-display: swap&lt;/code&gt;, lazy-load below-the-fold images, and set explicit &lt;code&gt;width&lt;/code&gt;/&lt;code&gt;height&lt;/code&gt; so the layout does not jump. A page that shifts while someone is trying to tap a button is a broken page.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Deploy from Git, with previews
&lt;/h2&gt;

&lt;p&gt;Every branch gets a preview URL, so a change can be reviewed on a real device before it reaches the main domain. Rollback is a redeploy of the previous commit, which matters more than any dashboard feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would do earlier next time
&lt;/h2&gt;

&lt;p&gt;Two things I left too late: a form endpoint that does not depend on &lt;code&gt;mailto:&lt;/code&gt;, and analytics that do not need a cookie banner. Both are easier to add at the start than to retrofit.&lt;/p&gt;

&lt;p&gt;The site this came from is &lt;a href="https://aerobyte.pages.dev" rel="noopener noreferrer"&gt;AeroByte&lt;/a&gt; - we build websites, web apps and tools for small teams. If you are shipping something similar and want a second pair of eyes on the caching and headers, my inbox is open.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>deployment</category>
      <category>performance</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
