Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Mapping Factorio with Leaflet

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Guest Author
Word Count
986
Company Posts That Month
25
Language
English
Hacker News Points
-
Post removed?
No
Summary

Jacob Hands, creator of FactorioMaps.com, shares his experience building a community site for the game Factorio focused on sharing user creations as interactive Leaflet maps. He chose Backblaze B2 over Amazon S3 and Google Cloud Storage due to its free upload API calls, $0.00/GB egress bandwidth to Cloudflare, and lower storage costs. To improve site speed, Hands added a local SSD cache on the VPS for all except the last 1-3 zoom levels of each map, reducing latency for 66% of requests. He then implemented Cloudflare Workers to run JavaScript path rewrites and redirects, further enhancing performance. By using Google Cloud Storage (GCS) for the first few zoom levels and Backblaze B2 for the rest, Hands achieved a mean latency of <350ms for 66% of requested files while only storing 24% on GCS. He also utilized Cloudflare's Argo to reduce latency by over 50% for non-US/CA users.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 1 442 55 26 +15%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.