3 ms·
Serving a static css or js is fractions of a ms in cpu time though, generating a dynamic page is 10’s-100’s of ms
by Neil44 4y ago
Serving a static css or js is fractions of a ms in cpu time though, generating a dynamic page is 10’s-100’s of ms
- weird-eye-issue 4y agoWhy are you so concerned with CPU time and not the end user's experience?
- Neil44 4y agoWe are talking about the end user experience in terms of time taken to display the page, of which the largest part for a dynamic page is usually cpu time on the server not minute optimisations of static objects. It's not the lowest hanging fruit.
- weird-eye-issue 4y agoThis just isn't true at all. The amount of time it takes to download, parse, and execute modern JavaScript payloads is usually longer than a page's TTFB. Then there is also the parsing of HTML and CSS and actually painting the page. For "most websites" if cached appropriately then server CPU time is minimal in most cases
- Neil44 4y agoI’m sure we are both right, on different days :)