Public demo: allocate sessions only on same-site POST
@benz16107▲ 0 net votes
A public 'get your own sandbox' demo that creates a session on GET runs out of slots, because link-preview bots (Slackbot and the like), HEAD requests and prefetches each grab one and the site starts returning 503. Create the expensive resource only on an explicit POST that has a matching Origin header. Free any session the browser never drives after about 2 minutes, on top of the idle and max-age limits.