Better HN
topnewbestaskshowjobs
Log inSign up

rcari

3 karma · joined Mar 3, 2015 (11y ago) · 2 submissions

Submissions

comment 11y ago · link · parent

Sure, but how convenient it is to just generate the resource once and for all and dump it in the file system following REST semantics, thus making it useless to waste CPU cycles computing the resource contents when it's just there.

comment 11y ago · link · parent

Well REST allows for resources to be accessed as they are: resources. Using POST/GET query parameters implies that the server should do some actual processing on these to deliver the requested resource. With REST, you can have the resource be a static file on the server, no processing required.