Open TheoMer opened 6 years ago
On further inspection, the following errors are being generated in console:
How do I address this?
'https://scontent.cdninstagram.com', 'https://rawgit.com'
It doesn't handle dynamic URLs, it accepts exact URLs. In your case you're trying to cache 'https://rawgit.com' main page and 'https://scontent.cdninstagram.com' main page.
@NekR Even when I specify an exact url, as follows:
externals: [
'/',
'https://rawgit.com/milktronics/beaglegr.am/master/public/fonts/billabong-webfont.woff'
],
still Lighthouse indicates that the object has not been cached.
Those URLs you're trying to cache should have CORS headers implemented, otherwise it won't be cached (an error would happen as on your screenshot).
@NekR
It doesn't handle dynamic URLs
Are there any plans to implement this?
Well, there are plans, but no time for it.
OS: Windows 10 Pro Webpack: 3.10.0
So I'm running an SPA, which according to Lighthouse (chrome PWA plugin), is not caching any assets, either internal or external.
When I run an Lighthouise diagnostic on my test site, https://learn-redux.firebaseapp.com, I get the following report:
My webpack config file reads as:
and my build file structure is as follows:
and images structure:
What am I overlooking here?