MORTIMERDEV GUIDES
Short answers.
The questions people actually search for, answered in a few minutes, each checked against the specs and official docs, and linked to a tool you can try it in.
Labs is for getting a job done. Learn takes you through a topic in order. Guides answer one question well.
AWS CDK.
2 guides-
cdk synth vs cdk diff vs cdk deploy: what each one does
cdk synth turns your CDK app into CloudFormation in cdk.out, cdk diff compares that with what's deployed, and cdk deploy publishes assets and runs a change set. What's in cdk.out, how to read the template, and how to use synth and diff in CI.
Updated 30 November 2026 -
What "requires replacement" means in cdk diff, and how to avoid it
In cdk diff, (requires replacement) means CloudFormation will create a new resource and remove the old one. When that loses data, how to check before deploying, and how to avoid it with stable logical IDs, removal policies and snapshots.
Updated 30 November 2026
Content-Security-Policy.
2 guides-
"Refused to load" CSP errors: how to read them and fix the policy
How to read Chrome's Content-Security-Policy console errors, find the directive that blocked a script, image or request, and fix the policy without opening it up to everything.
Updated 30 November 2026 -
What 'unsafe-inline' does in a Content-Security-Policy, and what to use instead
'unsafe-inline' lets every inline script, event handler and style run, which undoes most of what CSP protects against. Here's what it allows, when browsers ignore it, and how to replace it with nonces or hashes.
Updated 30 November 2026
HTTP caching.
2 guides-
no-cache vs no-store: why no-cache still caches
Cache-Control no-cache stores the response but checks with the server before every use; no-store doesn't store it at all. How they differ from max-age=0 and must-revalidate, and which one to use for HTML, APIs and private pages.
Updated 30 November 2026 -
s-maxage vs max-age: how long browsers and CDNs cache a response
max-age sets how long every cache keeps a response fresh; s-maxage overrides it for shared caches like CDNs, and browsers ignore it. How they combine, how Age counts against them, and which to use for HTML and assets.
Updated 30 November 2026
