Hacker News new | ask | show | jobs
by 8n4vidtmkvmk 11 days ago
Both.

Runtime can certainly be optimized, but the app can also virtualize or force unloading if it needs to.

1 comments

I am just talking about a page that is something like a descriptive document for the browser to deal with, probably less than 500 bytes.

     <html>
     <body>
     <img...>
     <br>
     <img..>
      ...
      </body>
     </html>
Then the browser/runtime should optimize that as much as possible.

I suppose, sure, static webpages are closer to "documents" than "apps" and they should work well 'out of the box' without adding heaps of JS to optimize the browser's difficiencies.