I wrote the js in Offline. I agree completely, this is definitely not an attempt to resurrect Google Gears. I would love to see how more people use it, and what sorts of problems they run into before deciding what the solution might be.
Two thoughts right now (make a gh issue if either is something you need):
- Make an option to only enable request remaking for GET requests
- Make an option to throw out POST/PUT/DELETE data if it's more than X minutes old
Listing the requests is interesting, but would obviously require the programmer to associate the request with the user-facing feature it enables. Something like messenger might be better for that: http://github.hubspot.com/messenger/
Thanks for the library and I'm glad you understand what I tried to say. The warning I was giving was not meant as criticizing your library. It was meant as a general warning when dealing with queueing ajax request when offline.
Two thoughts right now (make a gh issue if either is something you need):
- Make an option to only enable request remaking for GET requests
- Make an option to throw out POST/PUT/DELETE data if it's more than X minutes old
Listing the requests is interesting, but would obviously require the programmer to associate the request with the user-facing feature it enables. Something like messenger might be better for that: http://github.hubspot.com/messenger/