Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From reading the article, one of the key items addressed by HTTP Search is caching. POST requests are usually not safe to cache


Is search safe to cache though?

It would definitely heavily depend on the dataset you're querying... Very little value in cached search results if you're searching through time-sensitive data such as logs or other live-datasets.

Most datasets I've searched also has a concept of permissions, so person a couldn't be served the same cached result as person b... I think search can't be cached at the http level either, its too heavily dependent on the data you're searching through so you'd have to implement it in the application anyway.

the article does make a good point though: a `get` request that supports a `body` would be nice, and thats pretty much all they're arguing for with the `search` verb.


The normal cache controls apply, so you can make it as safe as you need.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: