Skip to main content
56 guides

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

Networking
10 min read

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

cidripv4networking
Networking
12 min read

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

subnettingipv4networking
Networking
7 min read

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

cidrsubnettingnetworking
Logs
11 min read

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

logssecuritypii
Logs
9 min read

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

logssecuritypii
APIs
10 min read

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

jwtsecurityapis
Logs
11 min read

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

logssecuritypii
Logs
9 min read

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

logssecuritypii
Logs
9 min read

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

logssecuritysecrets
Logs
8 min read

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

logssecurityredaction
Networking
9 min read

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

cidripv4networking
Networking
7 min read

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

cidripv4subnetting
Networking
8 min read

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

cidripv4networking
Networking
6 min read

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

cidripv4networking
JSON & Data
8 min read

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

jsonformattingdeveloper-tools
JSON & Data
8 min read

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

jsonvalidationformatting
JSON & Data
6 min read

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

jsonformattingapi
JSON & Data
9 min read

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

jsonvalidationformatting
Security
13 min read

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

securityhttpheaders
Security
11 min read

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

securitycspheaders
Security
8 min read

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

securityhstsheaders
Security
10 min read

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

securitycorsheaders
DevOps
8 min read

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

htaccessapacheredirects
DevOps
9 min read

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

apacherewritehtaccess
SEO / Web
8 min read

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

redirectsseohttp
SEO / Web
7 min read

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

redirectshttpstatus-codes
Security
10 min read

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

cspsecurityheaders
Security
9 min read

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

securityheadershsts
SEO / Web
7 min read

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-graphsocial-sharingmeta-tags
SEO / Web
8 min read

Open Graph Meta Tags Explained

What each og: tag does, which ones you actually need, and the mistakes that quietly break link previews.

Published

open-graphmeta-tagsog-image
SEO / Web
8 min read

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

og-imageopen-graphtroubleshooting
SEO / Web
6 min read

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

og-imageimage-sizeopen-graph
SEO / Web
7 min read

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

twitter-cardsx-cardsopen-graph
SEO / Web
7 min read

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

link-previewstroubleshootingopen-graph
SEO / Web
7 min read

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

open-graphtestingfacebook
SEO / Web
6 min read

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

canonicalog-urlopen-graph
SEO / Web
6 min read

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

og-titleog-descriptionmeta-description
Security
3 min read

How to Read Email Headers

A practical, field-by-field guide to reading raw email headers and knowing which lines to trust.

Published

emailemail-headersspf
Security
3 min read

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

emailemail-headersreceived
Security
3 min read

SPF vs DKIM vs DMARC Explained

Three standards, three different identities. Here is what each one checks and how DMARC combines them.

Published

emailspfdkim
Security
3 min read

What Is an Authentication-Results Header?

How receiving servers record SPF, DKIM and DMARC outcomes, and how to read the fields.

Published

emailauthentication-resultsspf
Security
3 min read

How to Read Received Headers

Break a Received header into its clauses and follow a message hop by hop.

Published

emailreceivedemail-headers
Networking
3 min read

How Email Delivery Works

From the send button to the inbox: the servers, protocols and DNS records that deliver a message.

Published

emailsmtpmx-records
Security
3 min read

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

emailreturn-pathspf
Security
3 min read

What Is a Message-ID?

The unique label every email carries, how threading uses it, and why it is not proof of origin.

Published

emailmessage-idemail-headers
Security
3 min read

How to Detect Email Header Spoofing

Technical indicators of spoofed headers, and why none of them is proof on its own.

Published

emailspoofingphishing
Security
3 min read

How to Investigate Suspicious Emails Using Headers

A calm, step-by-step workflow for reviewing a suspicious message's headers.

Published

emailphishingincident-response
Security
3 min read

What Does SPF PASS Mean?

What an SPF pass proves, what it does not, and how it fits with DKIM and DMARC.

Published

emailspfemail-authentication
Security
3 min read

What Does DKIM PASS Mean?

What a verified DKIM signature proves, how to read the tags, and what it cannot tell you.

Published

emaildkimemail-authentication
Security
3 min read

What Does DMARC PASS Mean?

DMARC ties SPF and DKIM to the visible From domain. Here is how a pass is decided.

Published

emaildmarcemail-authentication
Security
3 min read

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

emailreply-tophishing
DevOps
7 min read

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

croncrontabscheduling
DevOps
7 min read

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

cronquartzspring
DevOps
6 min read

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

cronquartzspring
DevOps
6 min read

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

crontimezonesdst
SEO / Web
7 min read

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

redirectsredirect-looptroubleshooting

Featured guides

A good place to start.

Latest articles

View all

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