← Back to context

Comment by TeMPOraL

6 years ago

And I think a pizza ordering site is a good case for server-side and mostly static HTML. There's very few things on such page that change more often than every few days, and as for the dynamic stuff, all you really need to manage is a client-side basket, which is trivial in isolation. I believe you could easily cut the time spent on such site by a third if you approached it this way. Even more for people accessing the site from older machines.

I can tell, because I order pizza quite frequently from a variety of sites.

Heavy graphics with static HTML? That's going to be a crummy experience for mobile users.

  • CSS supports media queries.

    • I'm not talking about choosing by screen resolution. I'm taking about choosing by whether and when the media is needed at all, which becomes much more tractable when you add some JavaScript to control it.