this post was submitted on 14 Oct 2023
713 points (98.6% liked)

Memes

45132 readers
3258 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 

Self doubt stems from here.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 15 points 11 months ago (3 children)

Huh I wonder if you could make a website so simple it could be saved as a cookie

[–] [email protected] 17 points 11 months ago* (last edited 11 months ago) (1 children)

If the browser follows RFC 2019, 2965 and 6265, it should only be able to accept 300 cookies which are a maximum of 4096 bytes each. So yes. You can store enough data in cookies for an optimized page or two, with or without images. Maybe you could store an 8bit track as epic background music as well as a few dozen links for your Web Ring.

[–] [email protected] 1 points 11 months ago

How do you render it? Can javascriot access the cookie? Then you write it to the DOM? You still have to obtain the cookie initially, then have all clicks act like an SPA and not make server calls.

Interesting idea.

If they are starting a new session but they already have the cookie, how do you prevent the initial server contact when they open the browser/tab ?

[–] [email protected] 5 points 11 months ago

Cstimer.org is I think

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago)

<div>hello world</div>