What does "statelessly cache" mean? Stateless means it has no state, and cache means it saves frequently requested operations. How can it save anything without state?
What does "statelessly cache" mean? Stateless means it has no state, and cache means it saves frequently requested operations. How can it save anything without state?
> Presumably it caches copies of frequently-requested content on nodes closer to the end-user, rather than always fetching that content from an origin node
> It's "stateless" because stateful requests are always sent directly to the origin node
What is a stateful request versus a stateless one? Every request has some sort of state.
If the request is "give me the profile photo of the logged-in user" - the response depends on the stateful question of who is the logged-in user.
If the request is "give me the gmail logo" - the response is identical no matter who's making the request. These can be cached on an edge node without regard to application state.
I get what you mean, but calling a cache "stateless" seems like a contradiction in terms to me.
The blog post mentioned it this way to convey that the cache operation should be relatively simple and generally not return many errors, and that disabling the servers would be low risk (no data loss or severe performance impact).
Whether or not data is in the cache can change, but if the data is there, the result is always the same.
An example of stateless data would be a video on YouTube or a particular version of a file in git.
If the data cannot change but is controlled by AuthZ/AuthN then it is pretty clearly not stateless.
I get what you mean, but calling a cache "stateless" seems like a contradiction in terms to me.