News for hackers. Stuff that matters.
Re:Show HN: Widget.json and Widget Construction Set by phillipseamore on Monday November 28, 2022 @02:34PM (#33778421)
Nice! I'll play with this over the weekend.

Have you thought about adding refresh rate to the schema? I've got some ideas were I'd simply like it to refresh once per day at 6am (like: "update_at": "2022-11-29T06:00:00Z") and another one that I'd like to update at a 10 min interval ("update_interval": 600).

Re:Show HN: Widget.json and Widget Construction Set by bmalicoat on Monday November 28, 2022 @02:56PM (#33778685)
Great call! We did talk about this a little bit, but it didn't make the v1 schema. Definitely seems like a smart idea to support given that some widget.jsons might require a fair bit of work to assemble (and you don't want to build caching on the server) or maybe some are just more static than others.