Open SaulDoesCode opened 5 years ago
Yeah, you are right. It seems that the AutoPush
feature needs to be refined. I'll take the time to study it in a few days.
BTW, you made a mistake in the transplacer
, I'm fixing it, you'll see.
Hi @SaulDoesCode,
See my new commit 7c0d0bb460c3421332f4875f27f5a0699e330ed7.
Awesome, everyday something is getting better. 😄
the
<link>
tag has several variations which don't always need pushing for example withpreload
/favicon
pushing can disturb caching and cause needless bandwidth consumption and sometimes in the worst cases duplicate requests, so there should be a bit more specificity and potentially a feature to exclude/omit certain paths from the push list, (immutable/async cached assets assets that are very big)see transplacer's take on this matter.