Open
Description
Most sites don't use service workers and the such so as soon as you go offline, nothing is available if it depended on HTTP. It'd be good if Agregore cached stuff specifically for offline usage
- Set up a leveldb (or sqlite? or fs?) http cache
- Listen on requests and cache responses for GET (maybe just top level frame content without css/js even?)
- Catch network errors in requests and serve from cache
- Provide option to clear offline cache
- Use an "Least Recently Used cache" to clear old data with some sort of user config for "num saved sites", maybe default to a few thousand or based on size? If size we should be able to configure it