<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[AMARBARO]]></title><description><![CDATA[AMARBARO]]></description><link>https://amarbarolabs.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b0d2704cc4b544ec3b25ce7/72cc0250-33f3-4cd5-a0f7-4f327068d214.png</url><title>AMARBARO</title><link>https://amarbarolabs.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 00:19:04 GMT</lastBuildDate><atom:link href="https://amarbarolabs.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Cookie banners and consent, explained]]></title><description><![CDATA[What a cookie is, what the rules ask a site to do, and what a walk over 1,301 of our own pages found when it compared cookies between two versions of a.]]></description><link>https://amarbarolabs.hashnode.dev/cookie-banners-and-consent-explained</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/cookie-banners-and-consent-explained</guid><category><![CDATA[privacy]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Tue, 01 Dec 2026 23:42:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/a8301087-9d59-48ae-b739-e42f516edfd2.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>A cookie is a small note that a website asks your browser to keep. The browser sends it back on every later visit. Some notes are needed for the site to work. Others are optional, such as notes that follow you from page to page to count or study visitors. Cookie banners are the pop ups that ask about the optional ones. This article explains the idea, shows what a cookie looks like on our own sites, and tells what we learned when a check of ours kept failing on cookies.</p>
<h2>Why it matters</h2>
<p>Cookies sit at the point where convenience meets privacy. A login needs one. A tracker does not. In many places, rules ask sites to be honest about the difference and to ask before using optional ones. As a visitor, knowing the difference helps you click the right button. As someone who runs a site, it helps you avoid the banner that does not do anything.</p>
<h2>How it works</h2>
<h3>What a cookie holds</h3>
<p>A cookie has a name, a value, and a lifetime. It may also be marked as secure, meaning it travels only over HTTPS. The site sets it in a reply, with a header. Your browser stores it and attaches it to later requests to the same site.</p>
<h3>Needed and optional</h3>
<p>Think of two groups.</p>
<ul>
<li><strong>Needed cookies</strong> make the site work. A login session. A shopping cart. A token that stops a form from being forged. Our apps use signed session cookies that are sent only over HTTPS in production, and a token that protects forms.</li>
<li><strong>Optional cookies</strong> are not needed for what you asked the site to do. Typical examples are analytics and ad cookies.</li>
</ul>
<p>As we understand the rules in the European Union, a site should not set optional cookies before you agree, and the choice should be as easy to refuse as to accept. This is not legal advice. If you run a site that serves people in a regulated place, read the rules or ask someone who knows them.</p>
<h3>What a banner should do</h3>
<p>A banner that is honest does a few plain things.</p>
<ol>
<li>It does not set optional cookies before you answer.</li>
<li>It lets you refuse as easily as accept.</li>
<li>It remembers your answer.</li>
<li>It does not hide the privacy page that explains what the site does.</li>
</ol>
<p>A banner that only looks like it works, while the tracker loads anyway, is worse than none. The only way to know is to test it in a browser, because the page's code can promise one thing while the browser does another.</p>
<h2>What our walk found</h2>
<p>Before we move a site to a new version, we run a metadata walk. It asks for every public address we can list on the old site and on the new one, then records for each whether the answers match. A difference can be a failure, or an allowed difference with a written reason.</p>
<p>The first run on <a href="http://amarbaro.com">amarbaro.com</a> failed 1,003 of 1,301 addresses. The log labeled every one of them as cookie only. The page content matched. The difference was in the cookies: the two versions set different ones in some replies.</p>
<p>A smaller site showed the same pattern, with 27 failures on cookies alone. In that case the cause was a token that protects forms. The new version sets it only when a form is used, not on every page. For a visitor who never submits a form, that change is harmless. It is also exactly the sort of difference that can hide a real break if nobody reads the list.</p>
<p>We then wrote an allow line, with a reason, for each rule. The next run read <code>urls=1301 FAIL=0 ALLOWED=1005</code>. Of the 1,301, that is 77 percent allowed and 296 passing with no exception. The allowed ones are not hidden. They show in the count, and each one has its reason written next to it.</p>
<h3>What this teaches about consent</h3>
<p>Be clear about what this walk did and did not do. It compared cookies between two versions. It did not test whether a consent banner works. A walk like ours can say "these cookies differ". It cannot say "this one is optional and was set before the visitor agreed". For that you need a test that opens a page in a real browser, with no saved answer, and lists the cookies that exist before and after a click on Refuse.</p>
<p>The honest lesson is about checks in general. A check that cannot tell harmless from harmful will either cry wolf or be switched off. The fix is to name each difference, give a reason, and keep the list visible.</p>
<h2>Also on the server side</h2>
<p>Our privacy page says what we log on the server and for how long, and a daily timer deletes expired rows. The next article tells how we count visitors without a tracking script.</p>
<h2>Words you may not know</h2>
<ul>
<li><strong>Cookie</strong>: a small note a site asks your browser to keep.</li>
<li><strong>Consent</strong>: your clear yes to something optional.</li>
<li><strong>Session</strong>: the period when you are signed in, tracked by a cookie.</li>
<li><strong>Tracker</strong>: a script or cookie used to follow visitors across pages or sites.</li>
<li><strong>Allow line</strong>: a written exception in a check, with the reason.</li>
<li><strong>HTTPS-only cookie</strong>: one that is sent only over a private line.</li>
</ul>
<h2>Try it</h2>
<ol>
<li>Open your browser's developer tools on <a href="https://amarbaro.com/">amarbaro.com</a> and look at Application, then Cookies. See which exist before you click anything.</li>
<li>Read our <a href="https://amarbaro.com/privacy-policy/">privacy policy</a> to see what we say we keep.</li>
<li>Open a private window, visit a site you use, and refuse everything on the banner. Then look at the cookies list again.</li>
</ol>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/meta-walk-1003-cookie-failures/">1,003 failed URLs were all cookies; one allow line per rule fixed the count</a>: the full record of the walk and the allow lines.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Smaller pictures, faster pages: what AVIF does]]></title><description><![CDATA[Pictures are usually the heaviest part of a web page. Here is how we shrank 84 pictures on doar.bio without making them look worse.]]></description><link>https://amarbarolabs.hashnode.dev/smaller-pictures-faster-pages-what-avif-does</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/smaller-pictures-faster-pages-what-avif-does</guid><category><![CDATA[Beginner Developers]]></category><category><![CDATA[images]]></category><category><![CDATA[performance]]></category><category><![CDATA[AVIF]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Tue, 01 Dec 2026 22:25:43 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/7a91da6e-c7f7-4ae2-bae2-a3da1a280ec6.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>On most web pages, the pictures weigh more than everything else together. A big picture on a slow phone can make a page feel broken. There are two cheap ways to fix this. Pick a smaller file format, and send each screen only the size it needs. This article shows what that did for the Romanian blog on doar.bio, with the real numbers, and how to try it on your own pictures.</p>
<h2>Why it matters</h2>
<p>Page weight costs your visitors time and data, and it costs you visitors who leave before the page loads. It is also a case where a small effort gives a large result. You do not need a faster server. You need smaller files.</p>
<h2>How it works</h2>
<h3>Formats are different ways to pack the same picture</h3>
<ul>
<li><strong>PNG</strong> keeps every pixel exactly. It is great for logos and screenshots, and heavy for photos and generated pictures.</li>
<li><strong>JPEG</strong> and <strong>WebP</strong> throw away detail your eyes will not miss, and the files shrink a lot.</li>
<li><strong>AVIF</strong> is newer and usually packs the same picture into fewer bytes than WebP, at the same look.</li>
</ul>
<p>"Quality" in these formats is a dial. Higher means bigger files and fewer artifacts. You pick a setting, look at the result, and keep the lowest one that still looks right.</p>
<h3>Sizes matter too</h3>
<p>A phone that is 390 pixels wide does not need a picture that is 1344 pixels wide. If you send the big one, the phone downloads pixels it cannot show. The fix is to make several widths of each picture, and let the page pick one by the width of the screen. The page can also list formats in order of preference, and the browser takes the first one it understands.</p>
<h2>What we did on doar.bio</h2>
<p>The Romanian blog on doar.bio has generated pictures for its articles. There were 84 of them. They were PNG files at 1344 by 768 pixels, 126.0 MB in total, around 1.5 MB each.</p>
<p>Each picture needed two marks. One is a translucent cream band across the top with the logo on it. The other is a small dark label in the bottom right that says, in Romanian, that the image was made with artificial intelligence.</p>
<p>A script adds both marks and saves each picture in six files: AVIF at quality 52 and WebP at quality 80, each at three widths, 480, 960 and 1344 pixels. The script skips a picture that it already processed, by checking a fingerprint of the source, the logo and the settings. So running it twice does nothing the second time. It also has a check mode that confirms the files match the settings.</p>
<h3>The numbers</h3>
<table>
<thead>
<tr>
<th>Format and width</th>
<th>Average per picture</th>
</tr>
</thead>
<tbody><tr>
<td>Original PNG, 1344 px</td>
<td>1,500 KB</td>
</tr>
<tr>
<td>Old WebP, 1200 px</td>
<td>99 KB</td>
</tr>
<tr>
<td>New WebP, 960 px</td>
<td>68 KB</td>
</tr>
<tr>
<td>New AVIF, 960 px</td>
<td>36 KB</td>
</tr>
<tr>
<td>New AVIF, 480 px</td>
<td>14 KB</td>
</tr>
</tbody></table>
<p>On a desktop, a browser like Chromium now loads the 960 px AVIF where it used to load the old WebP. That is a drop of 64 percent. A phone that is 390 pixels wide loads the 480 px AVIF at 14 KB, which is 86 percent less than the old 99 KB file.</p>
<p>We also report the less flattering number. At the full 1344 px width, the 84 AVIF files add up to 4.8 MB, which is roughly 57 KB each. So the 36 KB figure belongs to the 960 px size. The whole set of six files per picture adds up to 25.9 MB, but a page never loads all six. It loads one per picture.</p>
<h2>What this does not prove</h2>
<p>Several things are still open, and we say them plainly.</p>
<ul>
<li>We only measured in Chromium. Other browsers may choose a different format.</li>
<li>A file size is not a loaded page. The 14 KB figure leaves out the HTML and other files on the page.</li>
<li>We do not know if readers notice or mind the label on each picture.</li>
<li>We do not know if the band across the top hides detail that matters in some picture.</li>
</ul>
<h2>Doing it on your own pictures</h2>
<ol>
<li>Take three pictures from your own site.</li>
<li>Convert each to AVIF and WebP with a tool such as ImageMagick or squoosh.app, at several quality settings.</li>
<li>Compare the files side by side at the size they will be shown, not zoomed in.</li>
<li>Keep the lowest quality that looks right to you.</li>
<li>Make a 480 px and a 960 px copy for small screens.</li>
<li>In your page, list AVIF first, WebP next, and the old file last.</li>
</ol>
<h2>Words you may not know</h2>
<ul>
<li><strong>PNG</strong>: a picture format that keeps every pixel exactly.</li>
<li><strong>WebP</strong>: a format that packs photos smaller by dropping detail you will not miss.</li>
<li><strong>AVIF</strong>: a newer format that usually packs even smaller.</li>
<li><strong>Pixel</strong>: one dot of a picture.</li>
<li><strong>Quality</strong>: a setting that trades file size against fidelity.</li>
<li><strong>Fingerprint</strong>: a short code from a file's content, used to tell if it changed.</li>
<li><strong>Responsive image</strong>: a picture offered in several sizes so each screen picks one.</li>
</ul>
<h2>Try it</h2>
<ol>
<li>Open <a href="https://doar.bio">doar.bio</a> on your phone, then on a computer. Open the Network tab on the computer, filter by Img and read the sizes.</li>
<li>Look at the full account of the numbers above in our post <a href="https://amarbaro.com/blog/doar-bio-article-pictures-avif/">84 article pictures went from 126 MB of PNG to about 36 KB each</a>.</li>
<li>See the sites we run at <a href="https://amarbaro.com/web/">amarbaro.com/web</a>.</li>
</ol>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/doar-bio-article-pictures-avif/">84 article pictures went from 126 MB of PNG to about 36 KB each</a>: the full record, with the table and the checks.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Caching: why a page loads faster the second time]]></title><description><![CDATA[A cache keeps a copy close to you so it is not fetched again. How caching speeds pages up, and how a stale copy hid a fix of ours for hours.]]></description><link>https://amarbarolabs.hashnode.dev/caching-why-a-page-loads-faster-the-second-time</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/caching-why-a-page-loads-faster-the-second-time</guid><category><![CDATA[caching]]></category><category><![CDATA[performance]]></category><category><![CDATA[Beginner Developers]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Tue, 01 Dec 2026 12:14:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/3f2141db-02e4-4957-a09d-57e8343398fa.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>The first time you visit a site, your browser fetches many files. The second time, it feels faster. The reason is a cache: a place that keeps copies of files so the system does not have to ask again. This article explains where caches live, how a site tells them how long to keep a file, and a time when a copy stayed too long and hid a fix we had made.</p>
<h2>Why it matters</h2>
<p>Caching is one of the biggest reasons the web is fast. It is also one of the most common reasons "I fixed it but nothing changed". If you run a site, you will meet a stale copy sooner or later. If you only visit sites, caching explains why a page sometimes looks broken until you force a reload.</p>
<h2>How it works</h2>
<h3>Copies at several distances</h3>
<p>A copy can be kept in more than one place.</p>
<ol>
<li><strong>Your browser</strong> keeps files on your own device. This is the closest and fastest copy.</li>
<li><strong>A content network</strong>, often called a CDN, keeps copies in many places around the world, so visitors fetch from a nearby machine. Cloudflare is one we use.</li>
<li><strong>The web server or app</strong> may keep ready made pages in memory.</li>
</ol>
<p>Each layer saves a trip to the layer behind it.</p>
<h3>How long to keep a copy</h3>
<p>A site tells caches how long a file may be reused, with a header called Cache-Control. It looks like <code>max-age=604800</code>, which means "keep this for 604,800 seconds", or seven days. A copy younger than that is used without asking. A copy older than that must be checked.</p>
<p>Our base Caddyfile does this for assets. It sets seven days for the assets and vendor folders. A comment in the file explains why: those files do not have a fingerprint in their names, so a short time keeps updates visible, instead of caching them for a year.</p>
<h3>Fingerprints solve the stale copy problem</h3>
<p>A fingerprint is a short code made from a file's content, added to its name or address, like <code>style.css?v=3f9a2c</code>. When the content changes, the code changes, so the address is new and every cache fetches the new file. Because the address never changes for the same content, it is safe to tell caches to keep it for a very long time. On <a href="http://aiazic.com">aiazic.com</a>, our files in the bundle folder carry such fingerprints, and the rule says to keep them for a year and never recheck them.</p>
<p>Files without fingerprints, like CSS and JavaScript that keep the same name, get the opposite rule on that site: check every time, because otherwise Cloudflare may serve an old copy.</p>
<h2>When a stale copy hid a fix</h2>
<p>On 2026-09-23 we worked on the layout of the gllm.forum site. The page template pointed at its stylesheet with a fixed label, <code>style.css?v=exact_match</code>. The label never changed. Cloudflare keeps files under the static folder for four hours, which is 14,400 seconds, and the headers showed a hit, meaning the copy came from the cache.</p>
<p>The effect was that our CSS edits reached visitors hours late. Worse, when we checked the live layout, we measured the old rule and thought our fix did nothing. We were checking a cached copy.</p>
<p>The fix was to make the label depend on the file content, using a small helper that adds a content fingerprint. The next time the CSS changed, the address changed with it.</p>
<p>The same trap had caught the code behind <a href="http://amarbaro.com">amarbaro.com</a> one week earlier, on 2026-09-16. That was the second time this kind of bug had cost us time, so we wrote down the rule: on any site behind Cloudflare, fingerprint static addresses by content, and look at the cache status header before trusting a live check of a stylesheet.</p>
<h2>What a cache does not do</h2>
<p>A cache does not know that your file changed. It only knows the clock. It is also not the only reason a page can look old: a stale tab, a service worker or a second server with an old copy can all do it. Clear one layer at a time and watch which one changes the answer.</p>
<h2>A short routine</h2>
<ol>
<li>For files with fingerprints: keep them a long time.</li>
<li>For files without: keep them a short time, or always recheck.</li>
<li>After a change, look at the headers of the live file. A cache status of HIT means a copy was served.</li>
<li>If a fix looks missing, add <code>?test=1</code> to the address, or use a private window, before you decide it did not work.</li>
</ol>
<h2>Words you may not know</h2>
<ul>
<li><strong>Cache</strong>: a stored copy that saves a trip.</li>
<li><strong>CDN</strong>: a network of machines around the world that keep copies of your files near visitors.</li>
<li><strong>Header</strong>: a note attached to a request or a reply.</li>
<li><strong>max-age</strong>: how many seconds a copy may be reused.</li>
<li><strong>Fingerprint</strong>: a short code from a file's content, put in its address.</li>
<li><strong>Stale</strong>: old, no longer matching the latest version.</li>
<li><strong>HIT</strong>: the reply came from a cache, not from the origin server.</li>
</ul>
<h2>Try it</h2>
<ol>
<li>In a terminal, run <code>curl -sI https://amarbaro.com/</code> and read the <code>cache-control</code> line, if there is one.</li>
<li>Open the Network tab of your browser on <a href="https://amarbaro.com/">amarbaro.com</a>. Reload twice, and look at the size column. Files marked as from cache cost no new trip.</li>
<li>Do a hard reload with Ctrl+Shift+R and compare what changes.</li>
<li>Visit <a href="https://gllm.forum">gllm.forum</a>, where one of the caching bugs above was found.</li>
</ol>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/a-reboot-is-not-a-health-check/">A Reboot Is Not a Health Check</a>: how we check a site from outside, which sees what visitors see.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[How we know a site is really up]]></title><description><![CDATA[A server that restarted is not a site that works. This article shows what a real check fetches, why it must run from outside, and the 37 checks we ran…]]></description><link>https://amarbarolabs.hashnode.dev/how-we-know-a-site-is-really-up</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/how-we-know-a-site-is-really-up</guid><category><![CDATA[monitoring]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[Devops]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Tue, 01 Dec 2026 05:23:54 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/67a3a860-99d3-4f93-b0f8-96c89bf22e90.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>"Is the site up?" sounds like a yes or no question. It is not. A program can be running while the page is broken. A page can load while the shop behind it fails. A site can work from inside your network and be gone for everyone else. This article explains how we check, what a real check looks at, and why we always check from outside.</p>
<h2>Why it matters</h2>
<p>Many outages are not loud. Nothing crashes. A setting is lost, a route points to an old place, a tunnel stops, and the home page still returns a 200 because a copy of it was served. Visitors notice before you do. A good check turns that quiet failure into a clear message.</p>
<h2>How it works</h2>
<h3>A site is a path, not a process</h3>
<p>For a visitor, a page load goes through several parts, as we saw in the first article of this series: the name lookup, the edge, the web server, the app and the database. A check that looks at only one part, such as "is the container running?", can pass while another part is down.</p>
<p>We learned this with a plain example. A container can be healthy and a page can return 200 and the site can still be wrong. In our base stack, one setting names which site the app should serve. When that setting was missing, the app served a placeholder site. Everything looked healthy. The comment in our setup file calls it the worst possible way to be wrong.</p>
<h3>What our reboot check looks at</h3>
<p>After a reboot of the host, we run a script. It does not stop at the process list. It checks, in order:</p>
<ol>
<li>That every expected container is running.</li>
<li>That the tunnel program that connects us to Cloudflare is active. A healthy app behind a dead tunnel is still down to the public internet.</li>
<li>That the public addresses return what they should, through their real domains. That includes a redirect that protects the operator panel.</li>
<li>That the consent to analytics path works in a real browser, across three sites.</li>
</ol>
<p>The result of one run was 37 of 37 checks passing. That number included each expected container, the tunnel, fourteen public routes through Cloudflare, and the browser check. The script prints the name of the failing check and exits with an error, so a half started system is never reported as green.</p>
<h3>Why from outside</h3>
<p>A check from inside the machine asks the app directly. It skips DNS, the tunnel and the web server. A check from outside walks the same path as a visitor. If your tunnel is stopped, only the outside check fails, and that failure is exactly the one that matters.</p>
<p>A simple rule: run at least one check from a different machine, using the public name, with a real fetch.</p>
<h3>What a real check fetches</h3>
<p>Not just the home page. A home page can be a cached copy. A good set has:</p>
<ul>
<li>The home page.</li>
<li>A page that needs the database, such as a list of posts or a shop page.</li>
<li>A page that must be blocked, which should return the blocked answer.</li>
<li>A page that redirects, to check the redirect rule.</li>
<li>A path that depends on a sidecar or a second program.</li>
</ul>
<p>For each, check the status code and one word or title that proves it is the right page.</p>
<h3>What the check costs</h3>
<p>It takes longer than a quick look at the process list. It depends on the public edge and the browser tooling. It also makes maintenance work: the list of expected containers and routes has to change when the stack changes. We treat that list as an inventory, not as test code to throw away.</p>
<h2>What counts and what does not</h2>
<p>What counts:</p>
<ul>
<li>Expected containers running.</li>
<li>Tunnel active.</li>
<li>Public domains return the expected status.</li>
<li>A fail count that tells you which boundary broke.</li>
</ul>
<p>What does not count:</p>
<ul>
<li>Looking at the process list alone.</li>
<li>A health address that is only reachable locally.</li>
<li>A 200 from the home page as a stand in for every route.</li>
</ul>
<h2>A tiny check you can start with today</h2>
<p>You do not need our script to begin. Pick the three pages that matter most on your site. Write a note with each address and one word that must appear on it, such as the shop's name or a button label. Once a day, from a machine that is not the server, fetch each address and look for the word. If any is missing, you have an alert with a name on it, and you did not have to wait for a visitor to tell you. Add more addresses over time, each time a surprise teaches you something.</p>
<h2>Words you may not know</h2>
<ul>
<li><strong>Health check</strong>: a small test that says whether a system works.</li>
<li><strong>Container</strong>: a sealed box holding one program and what it needs.</li>
<li><strong>Tunnel</strong>: a connection from a service on the internet to a door on your machine.</li>
<li><strong>Route</strong>: a public address that the site answers.</li>
<li><strong>Status code</strong>: a number in the reply, such as 200 for ok or 404 for not found.</li>
<li><strong>Edge</strong>: the first machines a visitor reaches, before our app.</li>
</ul>
<h2>Try it</h2>
<ol>
<li>Pick a site you run. List four addresses that must work. Fetch each from your phone on mobile data, not from your home network.</li>
<li>In a terminal, run <code>curl -s -o /dev/null -w '%{http_code}\n' https://amarbaro.com/</code> and then try one of our deeper pages.</li>
<li>Look at the sites we run at <a href="https://amarbaro.com/web/">amarbaro.com/web</a> and check one with the steps above.</li>
</ol>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/a-reboot-is-not-a-health-check/">A Reboot Is Not a Health Check</a>: the full record of the 37 checks.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Backups you can actually restore]]></title><description><![CDATA[A backup only counts once you have restored it. This is the simple test we now run, in plain steps, and the small mistake it caught.]]></description><link>https://amarbarolabs.hashnode.dev/backups-you-can-actually-restore</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/backups-you-can-actually-restore</guid><category><![CDATA[backups]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[PostgreSQL]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Mon, 30 Nov 2026 23:47:46 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/4c1a5384-3b79-417b-b416-740423d0db01.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>Everyone knows they should keep a backup. Fewer people have tried to use one. A backup is only a file until you restore it somewhere safe and see that your data comes back. This article shows the test we run: restore into a scratch copy, count, compare. It also tells what went wrong the first time we checked a copy of files, and why the fault was ours.</p>
<h2>Why it matters</h2>
<p>The worst time to learn that a backup is broken is the day you need it. Files can be empty. A copy can stop halfway. A database dump can leave out a table. A checksum can say the file is fine, and the file can still not restore. A small test, done before you need it, turns hope into knowledge.</p>
<h2>How to do it, step by step</h2>
<p>This is the order we follow for the database of a shop.</p>
<ol>
<li><strong>Take the backup.</strong> A script on the server dumps the database and the uploaded files. It prints OK only after its own checksum passes. In our case it also writes a small file with the row count of every table.</li>
<li><strong>Copy it off the machine.</strong> A backup on the same box as the data dies with the box. We copy it to a second machine.</li>
<li><strong>Check the file is the same file.</strong> On the second machine, we run <code>sha256sum -c</code>. A checksum proves the file is the one that was written. It does not prove the file restores.</li>
<li><strong>Restore into a scratch database.</strong> We start a throwaway PostgreSQL container, load the dump, and nothing else touches it.</li>
<li><strong>Count and compare.</strong> For each table, we count the rows and compare the numbers to the rowcounts file from the source.</li>
<li><strong>Delete the scratch copy.</strong> It served its purpose.</li>
</ol>
<h3>What it showed us</h3>
<p>For one of our shops, the backup held 20 tables, and the dump had data for all 20. The scratch restore ran on PostgreSQL 18.6. Some of the counts were booking 10 rows, customer 11, email_log 122, setting 29 and page_block 45. All 20 tables together came to 323 rows. The counts were equal to the source, so the backup earned the name.</p>
<p>We also wrote down what that test did not prove. The 10 bookings in the dump were all in the past, the newest from 2026-11-11. A restore proves that the data comes back. It does not prove that a new booking, made today with the code, will work against the restored data.</p>
<h3>The mistake the check was about</h3>
<p>Another site keeps its files on an FTPS server. We copied them: 2,882 files and 4,479,488 bytes, which matched the server listing in both count and total size. Then we ran the checksum, and it said all 2,882 had failed.</p>
<p>That looked terrible for about a minute. Then we saw the cause. The checksum file lists paths relative to the folder it was written in. We had run the command one folder up, so every path pointed at nothing. We ran it again from the right folder, and it came out clean. The copy was fine. The command was wrong.</p>
<p>We keep this story because it is the honest shape of backup work. A failed check can mean a bad backup, and it can also mean a bad check. Read the first error, not just the count of errors.</p>
<h3>Three copies, three jobs</h3>
<p>Our notes keep three copies apart, because each answers a different question.</p>
<ul>
<li>The <strong>nightly copy</strong>, made by a timer on the server at 03:30 UTC, is what we would restore after a bad night.</li>
<li>The <strong>pull to the lab</strong>, a copy kept on our own machine, is where we test restores without touching the server. It was 17 hours old at the moment we decided to go ahead with a change, and we said so in the record.</li>
<li>The <strong>change backup</strong> is taken as the first step of any switch. It is the closest to the change, and the switch depends on it.</li>
</ul>
<h2>What this does not prove</h2>
<p>A matching row count does not mean every value is right. It means the same number of rows came back. A deeper check compares sums, such as the sum of all prices, and some of our switches do that. It also does not cover a disaster where the backup machine is gone too. For that you need a copy in a third place.</p>
<h2>Words you may not know</h2>
<ul>
<li><strong>Backup</strong>: a copy of data kept so you can recover from loss.</li>
<li><strong>Restore</strong>: loading a backup back into a working system.</li>
<li><strong>Checksum</strong>: a short fingerprint of a file. Same file gives the same fingerprint.</li>
<li><strong>Dump</strong>: a file that holds a database's contents as commands.</li>
<li><strong>Scratch</strong>: a throwaway copy that you delete afterwards.</li>
<li><strong>Row count</strong>: the number of rows in a table.</li>
<li><strong>FTPS</strong>: a way to copy files over a network with a private line.</li>
</ul>
<h2>Try it</h2>
<ol>
<li>Pick a folder of files that matter to you. Run <code>sha256sum</code> on a few and save the result to a text file.</li>
<li>Copy the folder to another disk and run <code>sha256sum -c</code> from inside the copied folder.</li>
<li>If you have a database, restore its dump into a throwaway container and count the rows of one table.</li>
<li>See the sites we back up this way at <a href="https://amarbaro.com/web/">amarbaro.com/web</a>.</li>
</ol>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/backup-is-a-file-until-restore-counts/">A backup is a file until a scratch restore counts the same rows</a>: the full account, with every number.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[HTTPS and the padlock: what they promise and what they do not]]></title><description><![CDATA[The padlock in your browser means a private line to the site you asked for. It does not mean the site is good. Here is what HTTPS does, how certificates…]]></description><link>https://amarbarolabs.hashnode.dev/https-and-the-padlock-what-they-promise-and-what-they-do-not</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/https-and-the-padlock-what-they-promise-and-what-they-do-not</guid><category><![CDATA[https]]></category><category><![CDATA[Security]]></category><category><![CDATA[Beginner Developers]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Mon, 30 Nov 2026 20:08:46 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/f4bf8acb-a59b-4f65-90ae-4991b74c9cc0.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>The small padlock next to a web address means one thing. Your browser and the site have agreed on a secret, so nobody in between can read or change what you send. It does not mean the site is trustworthy. A site made to trick you can have a padlock too. This article explains what HTTPS really promises, how a site gets its certificate, and how ours get renewed without anyone remembering to do it.</p>
<h2>Why it matters</h2>
<p>People are told "look for the padlock". That advice is half right. The lack of a padlock is a real warning, because your data travels in the open. The presence of one is only a floor. If you learn what the lock covers, you will stop trusting it for the wrong things, and you will know what to demand from a site you run.</p>
<h2>How it works</h2>
<h3>Two promises</h3>
<p>HTTPS is the normal web with a private layer on top. The layer is called TLS. It makes two promises.</p>
<ol>
<li><strong>Privacy.</strong> The bytes on the wire are scrambled. Someone on the same Wi-Fi sees that you talked to a site, but not what you said.</li>
<li><strong>Identity.</strong> The site proves that it owns the name you typed. It does this with a certificate.</li>
</ol>
<p>Both promises are about the name in the address bar. They say nothing about what the site does with your data once it has it.</p>
<h3>What a certificate is</h3>
<p>A certificate is a small file. It says "this public key belongs to this name". It is signed by a company that browsers already trust, called a certificate authority. The browser checks the signature and the name. If the name does not match or the file has expired, you get a warning page.</p>
<p>Certificates expire on purpose. A short life limits the harm if a key leaks. The price of that choice is that someone has to renew them.</p>
<h3>Renewal without remembering</h3>
<p>Years ago, renewal was a yearly chore, and an expired certificate was a common cause of outages. Today a free authority called Let's Encrypt can renew by program. Our web server, Caddy, does this itself. The comment at the top of the Caddyfile in our base template says it plainly: if the domain setting is a real domain, Caddy asks Let's Encrypt for a certificate on its own. If the setting is localhost, it uses a private authority of its own for local tests.</p>
<p>That is why nobody on our side owns a "renew the certificate" reminder for those sites. The server handles it, and our checks fetch the pages from outside to make sure it still works.</p>
<h3>Not every site terminates TLS the same way</h3>
<p>On aiazic.com the public line ends at Cloudflare. Our own web server there listens on a plain port inside the machine, and its settings turn off automatic certificates. The tunnel carries the traffic from Cloudflare to our door. That is a deliberate choice for that site. It also shows an important point: "where the lock ends" is a design decision. If you use a service in front of your site, ask where the private line stops and what travels unprotected after that point.</p>
<h3>Headers that tell the browser to stay strict</h3>
<p>A site can ask browsers to be strict. The header called HSTS says "only talk to me over HTTPS, and remember that for this long". In our base template the time is 31,536,000 seconds, which is one year. On aiazic.com it is 63,072,000 seconds, two years, and it covers subdomains. We also send a header that stops browsers from guessing file types and another that limits what an address leaks when you click a link.</p>
<p>Those headers do not change how the page looks. They narrow what can go wrong if something odd happens on the way.</p>
<h2>What the padlock does not tell you</h2>
<ul>
<li><strong>That the site is honest.</strong> A lookalike address can have a valid certificate for its own name.</li>
<li><strong>That the site is well built.</strong> A lock does not protect against a bug in the app.</li>
<li><strong>That your data is safe afterwards.</strong> Passwords and keys can still leak from a database.</li>
<li><strong>That the page is the one you meant.</strong> If you mistype a name, you get a private line to the wrong place.</li>
</ul>
<p>Read the address, not just the icon.</p>
<h2>We wrote a TLS library</h2>
<p>Because TLS sits under almost everything, we wrote our own implementation in Mojo, called mojo-tls. Its description says it does TLS 1.3 and 1.2, as client and server, with X.509 certificates, in pure Mojo, with no OpenSSL and no C library. It is a learning and engineering project, and we would not tell you to swap it into a bank. It is useful for seeing how the pieces fit, because the whole stack is in one language and open to read.</p>
<h2>Words you may not know</h2>
<ul>
<li><strong>HTTPS</strong>: the web with a private layer. The S stands for secure.</li>
<li><strong>TLS</strong>: the private layer itself.</li>
<li><strong>Certificate</strong>: a signed file that ties a public key to a name.</li>
<li><strong>Certificate authority</strong>: a company that browsers trust to sign certificates.</li>
<li><strong>Let's Encrypt</strong>: a free certificate authority that renews by program.</li>
<li><strong>HSTS</strong>: a header that tells browsers to use only HTTPS for a site.</li>
<li><strong>Public key</strong>: a number a site shares so others can send it secrets.</li>
</ul>
<h2>Try it</h2>
<ol>
<li>Click the padlock on any page of <a href="https://amarbaro.com/">amarbaro.com</a> and open the certificate details. Read who issued it and the dates.</li>
<li>Run <code>curl -I https://aiazic.com</code> and look for the <code>strict-transport-security</code> line.</li>
<li>Read the TLS library we wrote: <a href="https://github.com/amarbaro/mojo-tls">github.com/amarbaro/mojo-tls</a>.</li>
<li>If you run a site, add a calendar entry to test it from outside once a week, even if renewal is automatic.</li>
</ol>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/a-reboot-is-not-a-health-check/">A Reboot Is Not a Health Check</a>: fetching real pages from outside, which also catches an expired certificate.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Domains and DNS: the address book of the web]]></title><description><![CDATA[A domain is only a label. DNS turns that label into the address of a server. Here is how it works and how we point our own domains at our own machines.]]></description><link>https://amarbarolabs.hashnode.dev/domains-and-dns-the-address-book-of-the-web</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/domains-and-dns-the-address-book-of-the-web</guid><category><![CDATA[dns]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Mon, 30 Nov 2026 20:07:01 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/b0cb8f15-1eac-42b7-85db-3bba4864ddac.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>A domain name, like amarbaro.com, is a label that people can remember. Computers do not use the label to find a machine. They use a number. DNS, short for Domain Name System, is the service that holds the list of which label points to which number. It is the address book of the web. When you own a domain, you decide what the book says about it.</p>
<h2>Why it matters</h2>
<p>If you ever run a site, the first thing you will do after buying a domain is edit its DNS entries. Most "my new site does not load" problems come down to this step. The entry is missing, points at the wrong place, or the old answer has not expired yet. Knowing what the entries mean saves you an afternoon.</p>
<h2>How it works</h2>
<h3>Who owns the book</h3>
<p>Three parties are involved.</p>
<ol>
<li>The <strong>registrar</strong> is the shop where you buy and renew the domain. It records that the name is yours.</li>
<li>The <strong>nameservers</strong> are the machines that hold the entries for your domain. You tell the registrar which nameservers to use.</li>
<li>The <strong>resolver</strong> is the helper your own computer or phone asks. It asks the nameservers and remembers the answer for a while.</li>
</ol>
<p>For one of our domains, dynoshell.com, our notes record that it was bought at one registrar and that its nameservers are at Cloudflare. That split is common. The shop sells the name, and another company answers the questions about it.</p>
<h3>What the entries look like</h3>
<p>The entries are called records. A few kinds cover almost everything a small site needs.</p>
<ul>
<li>An <strong>A record</strong> says "this name lives at this address", using the older style of number.</li>
<li>An <strong>AAAA record</strong> says the same with the newer, longer style of number.</li>
<li>A <strong>CNAME record</strong> says "this name is just another name for that one".</li>
<li>An <strong>MX record</strong> says where email for the name should go.</li>
<li>A <strong>TXT record</strong> holds a short piece of text. People use it to prove they own a domain.</li>
</ul>
<h3>The wait that confuses everyone</h3>
<p>Every record carries a time to live, written TTL. It tells resolvers how long they may remember the answer. If you change a record, some people will still get the old answer until their copy expires. This is why a change can look done to you and not done to a friend. Lower the TTL before a planned move, and wait out the old value before you turn the old machine off.</p>
<h2>An example from our own setup</h2>
<p>For aiazic.com, we do not point the name straight at a public address on our server. Instead, a Cloudflare tunnel connects the name to a door on our own machine. Our setup file for that site says that the tunnel entries for aiazic.com and for <a href="http://www.aiazic.com">www.aiazic.com</a> both lead to port 8040 on the box, and that every path is passed through.</p>
<p>That leaves one question: which name should visitors see? Our web server answers it. In the same setup file there is a rule that catches <a href="http://www.aiazic.com">www.aiazic.com</a> and sends the visitor to aiazic.com, with a permanent redirect that keeps the rest of the address. The word permanent matters. It tells search engines that the short name is the real one.</p>
<p>So DNS gets a visitor to our door, and the web server decides what to do with them next. If you want to see that second half, the next article about one server holding many sites covers it.</p>
<h2>Looking it up yourself</h2>
<p>You do not need special tools. On most computers, a terminal accepts these commands.</p>
<pre><code>nslookup amarbaro.com
dig amarbaro.com
dig amarbaro.com MX
</code></pre>
<p>The first two show the address for the name. The last shows where mail goes. If a lookup returns nothing, the entry does not exist yet or you made a typo.</p>
<h2>What a record does not tell you</h2>
<p>A record says where a name points. It does not say that the machine there is up, that the web server is configured for that name, or that the certificate is valid. Those are separate checks. A name can resolve fine while the page is broken. That is why we check from outside, with a real fetch, as covered in the article on how we know a site is up.</p>
<h2>Words you may not know</h2>
<ul>
<li><strong>Domain</strong>: a name you register, such as amarbaro.com.</li>
<li><strong>Registrar</strong>: the shop where the domain is bought and renewed.</li>
<li><strong>Nameserver</strong>: a machine that answers questions about your domain.</li>
<li><strong>Resolver</strong>: the helper that asks nameservers on your behalf and remembers answers.</li>
<li><strong>Record</strong>: one entry in the address book.</li>
<li><strong>TTL</strong>: how long an answer may be remembered, in seconds.</li>
<li><strong>Redirect</strong>: a reply that says "go to this other address instead".</li>
</ul>
<h2>Try it</h2>
<ol>
<li>Run <code>nslookup</code> on a domain you know, for example amarbaro.com or doar.bio, and compare the two answers.</li>
<li>Open <a href="https://amarbaro.com/web/">amarbaro.com/web</a> to see the sites we run. Each one is a name in some address book.</li>
<li>Type <code>www.</code> in front of one of our domains and look at what the address bar shows after the page loads. That is a redirect at work.</li>
<li>If you want a site of your own, buy a domain, then make one A record by hand and watch how long the change takes to show up.</li>
</ol>
<p>If a lookup confuses you, ask on <a href="https://gllm.forum">gllm.forum</a>, our forum, where each post in this series gets a short note you can reply to.</p>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/a-reboot-is-not-a-health-check/">A Reboot Is Not a Health Check</a>: why we test a site by fetching it, not by trusting a record.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[What happens when you type amarbaro.com]]></title><description><![CDATA[A plain tour of the trip a web page takes, from your browser to our server and back, in five steps, using our own site as the example.]]></description><link>https://amarbarolabs.hashnode.dev/what-happens-when-you-type-amarbaro-com</link><guid isPermaLink="true">https://amarbarolabs.hashnode.dev/what-happens-when-you-type-amarbaro-com</guid><category><![CDATA[Beginner Developers]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Browsers]]></category><dc:creator><![CDATA[AMARBARO]]></dc:creator><pubDate>Mon, 30 Nov 2026 15:10:12 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0d2704cc4b544ec3b25ce7/60bf181d-32e5-409e-81f3-f6fc59c8e291.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What this is about</h2>
<p>You type a name into your browser and a page appears. It feels like one thing. It is really five small steps: find the address, open a line, make the line private, ask for the page, and get the page back. Each step is done by a different part of the system. This article walks through them in order, using our own sites as the example.</p>
<h2>Why it matters</h2>
<p>When a site is slow or down, the cause sits in one of these five steps. If you know the steps, you can say "the name did not resolve" or "the server answered with an error". That is more useful than "the site is broken". It also helps if you ever run a small site yourself, because you will know which part to check first.</p>
<h2>How it works, step by step</h2>
<h3>Step 1: Find the address</h3>
<p>A computer cannot call a name. It needs a number, called an address. Your browser asks a service for the number that belongs to the name you typed. That service is called DNS. Think of it as an address book for the web. The answer is a short number that points at a machine somewhere. We cover this step on its own in the article "Domains and DNS: the address book of the web".</p>
<h3>Step 2: Open a line</h3>
<p>With the address in hand, your browser connects to that machine. It knocks on a numbered door, called a port. Web pages use port 443 for the private kind and port 80 for the old open kind. Our machine is not always the first thing to answer. For aiazic.com, the public side is a Cloudflare tunnel. It passes visitors on to a door on our own server. In our setup file for that site, the door is port 8040.</p>
<h3>Step 3: Make the line private</h3>
<p>Before anything useful is said, the browser and the server agree on a secret key. This step is called TLS, and it is what the padlock in the address bar stands for. After it, anyone listening on the wire sees scrambled bytes. In our base setup the web server called Caddy gets and renews the certificate for the site on its own, so nobody has to remember a renewal date.</p>
<h3>Step 4: Ask for the page</h3>
<p>Now the browser sends a short message: "Please give me this page." It includes the name you typed, because one machine can serve many sites. Caddy reads that name and decides who should answer. For most of our sites it hands the request to our app, a small program that builds pages. In the base template the app listens on port 8000 inside its own box, and Caddy passes requests to it.</p>
<h3>Step 5: Get the page back</h3>
<p>The app may need data to build the page, for example a list of posts. It asks the database. In our base setup the database is PostgreSQL. The app fills a template with the data and sends back HTML, which is text that describes a page. Your browser then reads that HTML. It sees it needs a stylesheet, some pictures and maybe a script, and it asks for those too, each one a small round of steps 4 and 5. When all of them arrive, the browser draws the page.</p>
<h2>A picture of the path</h2>
<pre><code>you  -&gt;  DNS (find the number)
     -&gt;  edge (Cloudflare tunnel, then Caddy)
     -&gt;  app (builds the page)
     -&gt;  database (holds the data)
     &lt;-  page comes back the same way
</code></pre>
<h2>What this does not cover</h2>
<p>Real trips have extras. Many browsers keep copies of files, so repeat visits skip steps. Some sites put a content network in front. A page can also ask for files from other sites. We keep this list short on purpose. If you want one of these extras, our article on caching covers the copies.</p>
<h2>What can go wrong at each step</h2>
<ul>
<li><strong>Step 1</strong> fails when the name has no entry, or a wrong one. You see a message that the site cannot be found.</li>
<li><strong>Step 2</strong> fails when the machine is off or a door is closed. You see a timeout.</li>
<li><strong>Step 3</strong> fails when the certificate is expired or does not match the name. You see a warning page.</li>
<li><strong>Step 4</strong> fails when the server is overloaded or a rule sends you to the wrong place. You may see a 502 or a 404.</li>
<li><strong>Step 5</strong> fails when the database is down or a file is missing. You may see a broken page or a half loaded one.</li>
</ul>
<p>Each message points at a different step, which is why the exact words on the error page are worth reading.</p>
<h2>Words you may not know</h2>
<ul>
<li><strong>Browser</strong>: the program you use to view web pages, such as Firefox or Chrome.</li>
<li><strong>Server</strong>: a computer that waits for requests and sends back answers.</li>
<li><strong>DNS</strong>: the address book that turns a name into a number.</li>
<li><strong>Address</strong>: the number that tells your browser which machine to talk to.</li>
<li><strong>Port</strong>: a numbered door on a machine. Web traffic uses a few well known ones.</li>
<li><strong>TLS</strong>: the scheme that makes the line private. The padlock shows it is on.</li>
<li><strong>Caddy</strong>: the web server program we use to receive visitors and pass them on.</li>
<li><strong>Database</strong>: a program that stores data in an organized way, such as posts and orders.</li>
</ul>
<h2>Try it</h2>
<p>You can watch these steps happen on a real page.</p>
<ol>
<li>Open <a href="https://amarbaro.com/web/">amarbaro.com/web</a>, our page that lists the websites we run.</li>
<li>Press F12 in your browser and open the tab called Network.</li>
<li>Reload the page. Each row is one request, so each row went through steps 4 and 5.</li>
<li>Click the first row. Look at the status, which should be 200, and at the list of headers that came back.</li>
</ol>
<p>For a closer look, type <code>nslookup amarbaro.com</code> in a terminal on most computers. It shows step 1 on its own.</p>
<p>For the sites themselves, visit <a href="https://aiazic.com">aiazic.com</a> or <a href="https://doar.bio">doar.bio</a> and repeat the exercise to compare how many requests each one needs.</p>
<h2>Read next</h2>
<ul>
<li><a href="https://amarbaro.com/blog/a-reboot-is-not-a-health-check/">A Reboot Is Not a Health Check</a>: how we check the whole path, not one part of it.</li>
</ul>
]]></content:encoded></item></channel></rss>