Comment by cuu508
8 hours ago
> First visit: ~30ms. Real JavaScript executes at the edge.
It appears to have static content. Why does it need any JS at all?
8 hours ago
> First visit: ~30ms. Real JavaScript executes at the edge.
It appears to have static content. Why does it need any JS at all?
Thank goodness it’s real JavaScript and not that knockoff js unscrupulous vendors are using to cut costs
"At the edge" means "on a server located close to where you are". It's used to serve the HTML.
Looks like the only JavaScript running on the client is for installing the service worker and some Cloudflare tracking junk.
Workers doesn’t require JS to serve static content though. You upload it as a static asset and it does it for you.
Right, but any old CDN can do that. Why does it need CF workers?
Because OP let an LLM generate the text and couldn't be bothered to measure :)