33 articles tagged #server-side on hackpile.dev.
- How to Save the Brain Before You Squash the Body
Extract GPS and camera data with exifr before compression. Sanitize EXIF, store metadata in your database, not in public files.
- Letting the Platform Own Sharp
Platform-managed edge transforms: when to migrate from self-hosted Sharp to Cloudflare, Vercel, Netlify, or AWS Lambda@Edge.
- Presigned Uploads, the Database, and the Lifecycle
Wire the encoded variants and LQIP into object storage and a database. Presigned PUTs, per-variant retry, transactional DB writes, and orphan cleanup.
- SvelteKit's enhanced:img & vite-imagetools
Master build-time image optimization with @sveltejs/enhanced-img and server-side Sharp for CMS content in SvelteKit.
- Production Hardening
Harden your ad system for production: database indexing, Redis-backed frequency capping, rate limiting, HTML sanitisation, SSRF prevention, and GDPR compliance.
- Dynamic Ad Campaign Foundations
Learn the architecture of a dynamic ad campaign system: domain hierarchy, data model, schema design, and project structure for ad serving and tracking.
- Campaign CRUD Patterns in SvelteKit
Campaign CRUD patterns in SvelteKit: form actions, validation, progressive enhancement, and handling complex nested data structures.
- The Ad Resolution Pipeline
Build an ad resolution pipeline with targeting filters, budget checks, frequency caps, and weighted selection to pick the best creative fast.
- Budget Pacing & Campaign Scheduling
Budget pacing algorithms, daily resets, campaign lifecycle automation, and server-side scheduling patterns for ad systems in SvelteKit.
- Debugging EMFILE on Vercel in a Serverless SvelteKit App
A practical guide to diagnosing EMFILE on Vercel: cold-start bundle pressure, Redis fan-out, and safer content loading in SvelteKit.