Thanks for your feedback, Emilio-san.

Yes, it may be useful for inline CSS, but since HTTP cache-control headers 
serve well for external resources, `<link>` and `<img>` may not benefit 
from the attribute even if we add it.

Anyway, we'd like to focus on the `cachehint` attribute for inline scripts 
and don't currently plan to extend the attribute for other elements.

On Friday, May 1, 2026 at 2:36:59 PM UTC Emilio Cobos Álvarez wrote:

> Seems like this would also be useful for `<style>`, `<link>`, or even 
> `<img>` elements as well, right?
>
> Cheers,
> -- Emilio
>
> On 5/1/26 7:39 AM, Chromestatus wrote:
> > Chrome has some compilation caching layer for inline scripts, which 
> > identifies the cache-eligible scripts by heuristics. However, there were 
> > no ways for Web developers to tell the browser which scripts are 
> > temporary and which are universal among their sites. The new `cachehint` 
> > attribute provides a way to do it and helps developers speed up loading 
> > of their web sites.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6c3e673e-6477-48fe-84d0-8e9e50c8cbbcn%40chromium.org.

Reply via email to