Hacker News new | ask | show | jobs
by blenderdt 1477 days ago
If you query the first page with a limit of 10, then insert 10 items, do you get the same items with the same parameters?
2 comments

Using that logic you can only have restful APIs if your application is useless and data never changes (which is fine for me, I hate debates about restfulness)
If you really want to cache the results use e-tags based on a hash set on write, or just include that hash as part of your request as well.