Hacker News new | past | comments | ask | show | jobs | submit login

if the page, limit and offset are parameters it is.



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?


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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: