News for hackers. Stuff that matters.
Re:You can serve static data over HTTP by bladelessninja2 on Tuesday May 30, 2023 @04:28AM (#36122434)
I hope the author means HTTPS, not HTTP - otherwise, I don't think this is a good idea.

Anyway, as everything in software development: it all depends - serving a simple JSON over an existing "full blown web application back-end" is usually more convenient and less confusing for developers than configuring hosting for static content. Although, if you JUST want to serve a JSON then, yeah, you can add it as a static resource.

There are no comments on this comment yet.