Articles · Tag
Tagged Performance.
7 articles on this topic.
- 1 min
Full-text search in PostgreSQL
tsvector, GIN indexes, ranking with ts_rank, language configs, and when to reach for Elasticsearch instead.
- PostgreSQL
- Backend
- Performance
- 1 min
Image processing pipelines with Sharp in Node.js
Resize, format conversion, WebP/AVIF, streaming pipelines, memory limits, and integrating with Next.js Image or upload workers.
- Node.js
- Performance
- Media
- 2 min
Next.js middleware: edge patterns and pitfalls
Matcher config, auth redirects, geolocation headers, A/B flags, and what you cannot do in middleware without hurting TTFB.
- Next.js
- Security
- Performance
- 1 min
The React Compiler and automatic memoization
Rules of React, what the compiler proves, reducing useMemo/useCallback noise, and interoperability with existing codebases.
- React
- Compiler
- Performance
- 4 min
Streaming and Suspense in the Next.js App Router
A deep dive into HTML streaming, Suspense boundaries, loading.tsx, caching semantics, and how to compose fast perceived performance without sacrificing correctness.
- Next.js
- React
- Performance
- 2 min
HTTP caching: browser, CDN, and origin
Cache-Control directives, stale-while-revalidate, ETag vs Last-Modified, CDN cache keys, and busting strategies for HTML vs assets.
- Web
- Performance
- Architecture
- 2 min
Web Workers to keep the main thread responsive
When to offload parsing, heavy transforms, and WASM; Comlink for ergonomics; and transferring ArrayBuffers instead of cloning megabytes.
- JavaScript
- Performance
- Browser