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.
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 ?
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.
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 ?