4 ms·
But what do you think one gains by serving json instead of serving valid html like a body with just `<data src="actual.json"></data>`? If you can retain full f
by peey 6y ago
But what do you think one gains by serving json instead of serving valid html like a body with just `<data src="actual.json"></data>`?
If you can retain full functionality (and hack on your ideas) AND be standards compliant (to make sure someone who decides to start offering a new web browser doesn't have to worry about 10% of websites serving this instead of valid HTML), then you should do that.