NAYAN’S ENGINEERING JOURNAL

Notes worth keeping.
Page 8 of 9.

My collection of practical guides on React, Angular, JavaScript, frontend design, performance, technical SEO and reliable delivery. Explore a topic, follow an example, and check the details.

103 GUIDES IN THE JOURNAL / 12 ON THIS PAGE

Engineering articles

DevOps2 min read

Updated CSS Missing in Production? Trace the Bytes Before Clearing Caches

Follow the stylesheet request through the browser, CDN and deployed artifact to identify which layer is serving old content.

Performance2 min read

Use Content-Hashed Assets Without Caching HTML into a Stale Release

Give immutable assets and frequently changing document pointers different cache policies.

SEO3 min read

Use Keyword Counts as an Editing Signal, Not a Content Strategy

Build useful technical articles around clear questions, accurate examples and maintained advice instead of repetition targets.

Images2 min read

Use Object-Fit to Crop Images Without Stretching Them

Choose between cover and contain, preserve the important subject, and recognize when a new source crop is necessary.

CSS2 min read

Use Prefers-Color-Scheme Without Losing Explicit Theme Choices

Build a theme preference order that respects the system and keeps forms, text and embedded surfaces consistent.

JavaScript2 min read

Use Regular Expressions for Focused Input Validation

Write small, testable patterns without treating a matching string as proof of a valid business operation.

AWS3 min read

Use S3 as a Static Asset Origin with Explicit Access and Cache Decisions

Plan object paths, HTTPS delivery, access boundaries and metadata before treating an S3 bucket as a finished website host.

TypeScript3 min read

Use unknown at Boundaries Instead of Spreading any

Validate external values and narrow errors so uncertainty stays at the edge of your application.

Performance2 min read

Verify Brotli and Gzip Delivery Instead of Assuming Files Are Compressed

Inspect negotiated encodings, response headers and transfer sizes when enabling text compression on a static site.

JavaScript2 min read

When to Use Map and Set in Frontend JavaScript

Choose collections for lookups and uniqueness without confusing object identity with value equality.

Accessibility2 min read

Write Form Validation Errors That Help People Recover

Turn invalid form states into specific, accessible instructions instead of generic red outlines.

Accessibility2 min read

Write Image Alt Text Around Purpose, Not Keywords

Describe the information an image contributes and avoid repeating nearby text or decorating every picture with a caption.

Put a useful idea to work.

Try the browser utilities in my developer toolkit.

Explore my free tools