Hacker News new | ask | show | jobs
by guiriduro 2859 days ago
Our case is similar, albeit smaller, and we're only at the stage of considering the next step (from static, webpacked JSON.) Our application relies on several regionalised hefty product+metadata JSON files. Data changes, while infrequent (~2 per week), involve republishing. Especially for the (recently-added) mobile app, large downloads are a UX issue. Changes aren't easily isolated by file segregation, and can cross-cut, although of course we're looking at the right level of granularity (we do have a product hierarchy and price dimension.) The apps already rely on REST for a smaller part of their dynamic functionality, so providing the main bulk through CDN-cached REST is an option; GraphQL was superficially attractive but the CDN issues are a showstopper for adopting it, for now.