Best Products
Launches
Launch archive
Most-loved launches by the community
Launch Guide
Checklists and pro tips for launching
News
Newsletter
The best of Product Hunt, every day
Stories
Tech news, interviews, and tips from makers
Changelog
New Product Hunt features and releases
Forums
Forums
Ask questions, find support, and connect
Kitty Points Leaderboard
The highest scoring community members
Streaks
The most active community members
Events
Meet others online and in-person
Advertise
Subscribe
Sign in
Clear text
recent
p/general
by
Alex Goldwyn
•
1d ago
My app server remembered the last visitor, one edit away from a shared cache
... minute check for anyone running a long-lived app server: PHP under
RoadRunner
or Swoole, Node, anything where one process serves request after request instead of starting fresh each time. List the values your templates read that middleware sets per request: the signed-in flag, the avatar, the CSRF token, the analytics user id. Then ask what each of them holds on a request where that middleware did not run. In a process-per-request world the answer is nothing ...
0
7
Subscribe
Sign in