Skip to main content

New answers tagged

1 vote

Is there a model or some implementation logic for web layouts?

Websites tend to all follow similar templates. I would simplify the problem by providing a selection of page templates with areas, then having the code generate the template choice with a list of ...
Ewan's user avatar
  • 79.8k
4 votes
Accepted

Is there a model or some implementation logic for web layouts?

Yes, I know of a way to make the layout better: I show my first scetch of the UI to one or two users and discuss it with them. That's an old, praxis-proven, standard software engineering technique. ...
Doc Brown's user avatar
  • 214k
4 votes

How does having assets saved on a secondary domain(s) reduce the load time of the website?

Updated answer for 2024: the technique described (which is called Domain Sharding) is obsolete according to this MDN article because most servers (and basically all browsers) support HTTP2 now, which ...
Remy Oudemans's user avatar
0 votes

How to Handle Concurrent Refresh Token Requests

Assuming that all the tabs run on the same browser and therefore can share cookie storage, the following mechanism can be implemented: Upon session start, every tab obtains it's own unique_tab_id. ...
Dimitar's user avatar
  • 101
1 vote

How to Handle Concurrent Refresh Token Requests

So you have several contexts that use the same token and refresh should be called only once and refreshes everything. You refresh the token based on time. The normal method would be: You start a token ...
gnasher729's user avatar
  • 47.5k
4 votes

How are 413 requests handled by servers

From a servers point of view, one main purpose of a "content too large" error is to limit the resource usage of the server by each client. So storing this "large" content, even if ...
Doc Brown's user avatar
  • 214k

Top 50 recent answers are included