79 karma · joined Apr 18, 2019 (7y ago) · 42 submissions
comment 4y ago · link · parent
I can't give you an perfect answer, because I am not aware of a practical example. But I think its quite doable. In a very naive way you can just store the results locally and use them when requested while offline. That potentially increases the storage size of individual items due to the HTML overhead of course. A fairly small app with little offline content could be quite simple. An advanced approach could be to push template parsing to the frontend. HTML fragments could use i.e. micro formats to retrieve data from the HTML and store it for later use. The question in this case how much logic you have to duplicate. I.e. template parsing should be very simple, unless you can share the template engine.
comment 4y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
I know this sounds wild and harsh but we have to overcome the habit of explaining non trivial or even unsolved problems with truisms.
comment 6y ago · link · parent
Some aspects of computers got better, sure. But the web is at an super shitty state. I mean were here posting on a website that has bare mininum design and features. Why is that? Twitter and reddit are absolutely horrible in terms of usability and performance. If you know that they could do better makes tham even worse. It is an attack on humanity. You can try to find excuses in unrelated things like noted, but that wont change anything.
comment 6y ago · link · parent