News for hackers. Stuff that matters.
Re:Speeding up this site by 50x (2014) by 0xbadcafebee on Friday June 24, 2022 @03:01PM (#31867743)
Dates on pages is supposed to be handled by HTTP, but web browsers continue to be the worst UX ever, so nobody uses it.

  $ curl -s https://danluu.com/ | sed -E 's/<div class=pd>([^<]+)<\/div><a href=([^>]+)>([^<]+)<\/a><\/div><div>/\n\1 \2 \3/g' | grep Integer
  12/14 https://danluu.com/integer-overflow/ Integer overflow checking cost
  
  $ curl -sI https://danluu.com/integer-overflow/ | grep -i date
  date: Fri, 24 Jun 2022 19:00:30 GMT
https://httpwg.org/specs/rfc7231.html#header.date
Re:Speeding up this site by 50x (2014) by eterm on Friday June 24, 2022 @03:19PM (#31868028)
That follows the spec:

> the sender SHOULD generate its field value as the best available approximation of the date and time of message generation

It's message generation date, not resource date.

Re:Speeding up this site by 50x (2014) by 0xbadcafebee on Friday June 24, 2022 @03:23PM (#31868077)
I stand corrected