Case study
Lineicons v5
Version 5 of an icon library.
- Client
- Lineicons
- Stack
- Next.js, Cloudflare R2, Express.js
- Live link
- Visit live ↗

From problem to fix
Challenges
- Handling 100K+ daily active requests, which exceeded shared server limits and caused performance bottlenecks
- Relying on a free-tier Cloudflare Worker, which became expensive as user traffic grew exponentially
- Querying the database directly for icon metadata, which led to inefficient SQL operations and slow response times
- Using a non-S3-compatible CDN, which made it difficult to manage and scale icon storage effectively
- A complex icon management system that made uploading and modifying icons time-consuming for non-technical users
Solution
- Migrated to a custom, lightweight Express.js server on a VPS for efficient request mapping and handling
- Implemented a key-value cache for icon metadata, reducing SQL load and improving response times
- Integrated Cloudflare R2 (S3-compatible) as the CDN for scalable and cost-effective icon storage
- Built a custom icon management system with an S3 file system browser, enabling non-technical users to easily upload, modify and sync icons
- Added a caching layer to minimize database queries and optimize server performance in high-traffic scenarios
Stack
- Next.js
- Cloudflare R2
- Express.js
- Tailwind CSS
- MySQL
- S3
Need something like this built?
Tell me what you're building and where it's stuck.
Book a callFree 30-min call · No prep needed