3 ms·
I think it depends on how you set your cache? If it’s not configured to re-check with the server it may be much faster. Then again, for 3KB the overhead of doi
by Aeolun 3y ago
I think it depends on how you set your cache? If it’s not configured to re-check with the server it may be much faster.
Then again, for 3KB the overhead of doing a cache check after parsing the HTML for the first time and then rendering it again may already be too much :)
- chrismorgan 3y agoExactly. Inline is just surprisingly much faster than a lookup by URL, which has to check “do I have this cached? What type (immutable, revalidate, &c. &c.)? Now (if suitable) fetch it from the cache.” before it can get on with actually acting on the resource’s contents.
- j3s 3y agointeresting. i shall consider this :)