Event JSON
{
"id": "f73d8fcc1f0e770406fc1ac1c3b359ba3c46b5db1cf3c7fd99240a9a74028119",
"pubkey": "5d00bc16e61a28fdd7029bffe611188c184da554ed500a5bc26809c42b32c571",
"created_at": 1742644723,
"kind": 1,
"tags": [
[
"proxy",
"https://accioly.social/@anthony/114205964593132693",
"web"
],
[
"t",
"http"
],
[
"t",
"caching"
],
[
"t",
"rest"
],
[
"t",
"tech"
],
[
"t",
"etag"
],
[
"proxy",
"https://accioly.social/users/anthony/statuses/114205964593132693",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://accioly.social/users/anthony/statuses/114205964593132693",
"pink.momostr"
],
[
"-"
]
],
"content": "Quick question for folks who understand HTTP caching on reverse proxies like Squid or Cloudflare. If I have a GET REST endpoint responding with 200 OK and the following headers:\n\nCache-Control: public, max-age=3600 \nETag: \"123-a\"\n\nThe proxy should cache and serve the response without hitting the underlying server more than once for the first hour, then send a request with If-Match: \"123-a\" when the cache goes stale, right? Is there any reason why it wouldn’t?\n\n#http #caching #etag #rest #tech",
"sig": "10761d962de3e5b520afda660514108166a02e8098fdd647232aa77c6dc622acf478032ac99baddbe2d58e182aab64e76045a317b89b0c83fb81605b92b0423f"
}