Chris Blakley

Results 183 comments of Chris Blakley

Yes, this does account for DST. It uses the PHP functions `date_sunrise()` and `date_sunset()` ([documentation](https://www.php.net/manual/en/function.date-sunrise.php)) which ask for GMT offset in addition to lat/lng. That parameter should use the offset...

This is the new syntax: `Cache-Control: max-age=1, stale-while-revalidate=59` The number is in seconds: Indicates the client will accept a stale response, while asynchronously checking in the background for a fresh...

Waiting on Safari to support this before we can use it: https://caniuse.com/mdn-http_headers_cache-control_stale-while-revalidate ![Screen Shot 2021-02-13 at 2 24 16 PM](https://user-images.githubusercontent.com/6349678/107859404-2fc1f980-6e07-11eb-8b57-fc4002ebda80.png)

Just waiting on Safari now– looks like it's behind a flag in the tech preview: ![Screen Shot 2022-04-18 at 10 45 44 AM](https://user-images.githubusercontent.com/6349678/163825349-7d32a124-37a6-434f-a064-a6231a691872.png)

Coming in Safari 16 and once that happens this is good to use.

Good article about the Sanitizer API: https://web.dev/sanitizer/

![Screen Shot 2022-06-09 at 11 47 17 PM](https://user-images.githubusercontent.com/6349678/172986426-0dab9538-ca0f-421d-be44-2cbb810bf28f.png) Edit Aug 2022– coming to Chrome 105

As of July 2022: ![Screen Shot 2022-07-11 at 10 26 00 AM](https://user-images.githubusercontent.com/6349678/178287393-7b7bd841-eb10-4e07-8f75-7eac1a712427.png) Getting closer...