No max-age or expires for https://site.com/__meteor__/dynamic-import/fetch

Hello, I was wondering if there is a solution to increase the overall performance score on WebPageTest, Im getting this recomendation to leverage browser caching of static assets,

Im getting a bunch of https://site.com/__meteor__/dynamic-import/fetch No max-age or expires I assume this is the dynamics imports I have, so is there a way to add the max-age headers to this resource? or should it be avoided as it will somehow conflict when deploying new versions due the cached data?

thanks!

1 Like

dynamic imports are already cached by Meteor in localstorage, so in this specific case, the extra headers are unnecessary.
(In fact, excluding the headers gives Meteor greater control over when and how to fetch new versions of packages)

2 Likes

Thanks @coagmano I had no idea that dynamic imports are already cached! so I guess I should ignore this recommendation from WebPageTest