Developer Blog & Learning Center
Practical guides on networking, security, logs, JSON, redirects and server configuration, written to explain the concepts behind the tools.
56 articles found
What Is CIDR? A Complete Guide to Classless Inter-Domain Routing
CIDR notation packs an IP address and its network size into one compact string. Here's exactly what it means and how to read it.
Updated
Understanding IPv4 Subnetting: A Practical Guide
Subnetting is how one IP range gets divided into smaller, purpose-built networks. Here's a practical walkthrough with real examples.
Updated
CIDR vs. Subnet Mask: What's the Difference?
A /24 and 255.255.255.0 mean the same thing. Here's how CIDR notation and subnet masks map to each other.
Published
What Is Log Sanitization? Why It Matters and How to Do It
Logs capture more than errors - they capture whatever was nearby when something went wrong, including data that should never leave your system.
Updated
How to Remove Sensitive Data from Logs: A Step-by-Step Guide
Before a log leaves your hands - into a ticket, a chat, or an AI prompt - here's exactly what to check for and how to clean it.
Published
JWT Explained: How JSON Web Tokens Work
A JWT packs identity claims into a compact, URL-safe string. Here's how the three parts fit together and what to watch for.
Published
How to Sanitize Logs: A Practical Guide to Removing Sensitive Data
Logs pick up more than error messages - here's a practical process for cleaning them before they leave your hands.
Published
What Sensitive Data Should Never Be Stored in Logs?
A checklist of exactly what shouldn't appear in your logs, and why each item on it is riskier than it looks.
Published
How to Remove API Keys, Tokens and Passwords from Logs
Credentials in logs are the highest-stakes category to catch. Here's what to look for and how to redact it correctly.
Published
Log Redaction vs Log Masking: What's the Difference?
"Remove the sensitive part" can mean several different things - here's how redaction, masking, hashing, and tokenization differ.
Published
CIDR Notation Explained: How /24, /16 and /8 Networks Work
The number after the slash determines everything about a network's size. Here's exactly how to read it.
Published
How to Calculate the Number of IP Addresses in a CIDR Block
One formula answers this for any prefix length. Here's the formula, plus worked examples for the sizes you'll actually use.
Published
CIDR Calculator Guide: Find Network, Broadcast and Usable IP Addresses
Here's exactly what a CIDR calculator computes, walked through with three real address blocks.
Published
What Does /32 Mean in CIDR?
A /32 is the smallest possible CIDR block - exactly one address, with no network or broadcast concept at all.
Published
How to Format JSON: Pretty Print and Read JSON Easily
Formatting turns a wall of JSON into something you can actually scan. Here's what it does and how to do it.
Published
JSON Validator: How to Find and Fix Invalid JSON
A single misplaced comma breaks the whole document. Here's how validation finds it and what the common causes are.
Published
JSON Pretty Print vs Minify: What's the Difference?
Same data, two shapes - one for humans, one for the network. Here's when each one is the right choice.
Published
Common JSON Syntax Errors and How to Fix Them
Nine mistakes cause almost every "invalid JSON" error you'll ever see. Here's each one, with the fix.
Published
HTTP Security Headers Explained: A Practical Developer Guide
A handful of response headers tell the browser how to defend the page they came with. Here's what each one actually does.
Published
Content-Security-Policy (CSP) Explained With Examples
CSP is an allow-list for where your page's resources can load from. Here's how the directives fit together.
Published
What Is HSTS? Strict-Transport-Security Explained
HSTS closes a narrow but real window for downgrade attacks. Here's exactly what it enforces and how to configure it.
Published
CORS Explained: Access-Control-Allow-Origin, Credentials and Common Mistakes
CORS is a browser-enforced exception to the same-origin policy. Here's how it works and the one combination that goes wrong constantly.
Published
What Is .htaccess? A Practical Guide for Apache Sites
A per-directory configuration file for Apache: what it can do, where it stops working, and how to avoid the usual mistakes.
Published
Apache Rewrite Rules Explained: RewriteRule, RewriteCond and Flags
Understand how RewriteRule and RewriteCond fit together, what the flags do, and why per-directory rules behave differently.
Published
What Are Redirect Chains? Causes, Impact and How to Fix Them
Several hops where one would do: how redirect chains form, what they cost, and how to find and fix them.
Published
301 vs 302 vs 307 vs 308 Redirects: Which Status Code to Use
Two questions decide the code: is the move permanent, and must the request method be preserved?
Published
How to Fix Common Content-Security-Policy Errors
Read the console message, find the directive, then choose the safest fix: move, nonce, hash, or allow a specific host.
Published
How to Secure HTTP Response Headers: A Practical Checklist
The headers worth setting, safe starting values, how to configure them on Apache and Nginx, and which old ones to leave behind.
Published
What Is Open Graph and How Does It Work?
The meta tags behind every link card: what Open Graph is, how platforms use it, and how a preview is built from your page.
Published
Open Graph Meta Tags Explained
What each og: tag does, which ones you actually need, and the mistakes that quietly break link previews.
Published
How to Fix an OG Image Not Showing
A step-by-step way to find out why your link preview has no image, the wrong image, or an old one.
Published
What Size Should an Open Graph Image Be?
1200 by 630 is a good default, but platforms crop differently. Here is how to choose a size and format that holds up.
Published
Twitter/X Card Tags Explained (and How They Differ From Open Graph)
The twitter:* tags, the four card types, and when Open Graph is enough on its own.
Published
Why Is My Link Preview Not Showing Correctly?
Wrong title, old image or no card: how to tell metadata, access and caching problems apart.
Published
How to Test Open Graph Tags (and Debug Facebook and LinkedIn Previews)
Test the HTML, the image and the platform separately, and know what each tool can and cannot tell you.
Published
Canonical URL vs og:url: What's the Difference?
Two tags that both name a page's address: who reads each, why they should usually match, and when they may differ.
Published
og:title vs HTML Title and og:description vs Meta Description
Search metadata and social metadata overlap. When to reuse one for the other, and when to write both.
Published
How to Read Email Headers
A practical, field-by-field guide to reading raw email headers and knowing which lines to trust.
Published
How to Trace an Email Using Its Headers
Follow the Received chain from the first server to your mailbox, and learn what an email trace really shows.
Published
SPF vs DKIM vs DMARC Explained
Three standards, three different identities. Here is what each one checks and how DMARC combines them.
Published
What Is an Authentication-Results Header?
How receiving servers record SPF, DKIM and DMARC outcomes, and how to read the fields.
Published
How to Read Received Headers
Break a Received header into its clauses and follow a message hop by hop.
Published
How Email Delivery Works
From the send button to the inbox: the servers, protocols and DNS records that deliver a message.
Published
What Is a Return-Path?
The Return-Path is the bounce address: here is how it differs from From and what it does and does not prove.
Published
What Is a Message-ID?
The unique label every email carries, how threading uses it, and why it is not proof of origin.
Published
How to Detect Email Header Spoofing
Technical indicators of spoofed headers, and why none of them is proof on its own.
Published
How to Investigate Suspicious Emails Using Headers
A calm, step-by-step workflow for reviewing a suspicious message's headers.
Published
What Does SPF PASS Mean?
What an SPF pass proves, what it does not, and how it fits with DKIM and DMARC.
Published
What Does DKIM PASS Mean?
What a verified DKIM signature proves, how to read the tags, and what it cannot tell you.
Published
What Does DMARC PASS Mean?
DMARC ties SPF and DKIM to the visible From domain. Here is how a pass is decided.
Published
What Does a Different Reply-To Address Mean?
Why Reply-To and From sometimes differ, when that is normal, and when to take a closer look.
Published
Cron Syntax Explained: A Complete Guide to Cron Expressions
What each cron field means, how ranges and steps are matched, and how to read an expression without guessing.
Published
Five-Field vs. Six-Field Cron Expressions
The number of fields does not identify a cron dialect. Here is what changes between schedulers and why you cannot just add or drop a field.
Published
Why Day-of-Month and Day-of-Week Behave Differently in Cron
Why 0 0 13 * 5 is not 'Friday the 13th' in Unix cron, and how Spring, Quartz and EventBridge treat the same fields.
Published
Cron and Daylight-Saving Time: Skipped and Repeated Runs
A job at 02:30 may not run on the spring-forward day, and a job at 01:30 may match twice in autumn. Here is what to expect and how to plan around it.
Published
How to Fix Redirect Loops and ERR_TOO_MANY_REDIRECTS
A step-by-step way to find the URLs that redirect to each other, and the most common causes and fixes.
Published
Featured guides
A good place to start.
What Is CIDR? A Complete Guide to Classless Inter-Domain Routing
CIDR notation packs an IP address and its network size into one compact string. Here's exactly what it means and how to read it.
Updated
Understanding IPv4 Subnetting: A Practical Guide
Subnetting is how one IP range gets divided into smaller, purpose-built networks. Here's a practical walkthrough with real examples.
Updated
What Is Log Sanitization? Why It Matters and How to Do It
Logs capture more than errors - they capture whatever was nearby when something went wrong, including data that should never leave your system.
Updated
Latest articles
How to Fix Redirect Loops and ERR_TOO_MANY_REDIRECTS
A step-by-step way to find the URLs that redirect to each other, and the most common causes and fixes.
Published
Cron Syntax Explained: A Complete Guide to Cron Expressions
What each cron field means, how ranges and steps are matched, and how to read an expression without guessing.
Published
Five-Field vs. Six-Field Cron Expressions
The number of fields does not identify a cron dialect. Here is what changes between schedulers and why you cannot just add or drop a field.
Published
Why Day-of-Month and Day-of-Week Behave Differently in Cron
Why 0 0 13 * 5 is not 'Friday the 13th' in Unix cron, and how Spring, Quartz and EventBridge treat the same fields.
Published
Cron and Daylight-Saving Time: Skipped and Repeated Runs
A job at 02:30 may not run on the spring-forward day, and a job at 01:30 may match twice in autumn. Here is what to expect and how to plan around it.
Published
How to Read Email Headers
A practical, field-by-field guide to reading raw email headers and knowing which lines to trust.
Published
Browse by topic
Frequently asked questions
- Who writes these guides?
- The guides are written by the developer behind DevCraftKit, in original words, to explain the concepts behind the tools. There is no editorial team.
- How do I know how current an article is?
- Each article shows the date it was published and, when it has been materially revised, the date it was updated. Standards and browsers change, so check the date on anything version-specific.
- Are the guides connected to the tools?
- Yes. Most articles link to the relevant DevCraftKit tool, and each tool page links back to the guides that explain it.
- Spotted a mistake?
- Please tell us on the Contact page. Corrections to technical content are made as they are verified.
Ready to put it into practice?
Most guides link to the DevCraftKit tool that goes with them. Browse the tools.
Explore all tools