Sorry this because my Git and WordPress SVN still not sync I’m currently working on synchronizing the repo between my Git repo and my SVN. And will push the update this week. Sorry for that.
The AMP plugin must be activated if you want to enable service worker install when user open your AMP page. But if you’re not install it then it still works fine without AMP plugin.
Issue fixed, thanks for reporting and please try again.
Hello,
Thanks.
Two questions:
1.Since it also cache resource, so how to setting Redis cache with it?
2.If AMP is deactivated, offline with show error:http://prntscr.com/iz6pd8
so deos it will still work if AMP is deactivated?
3. FYI, I test it in a subsite of wordpress 4.9.4, HHVM, Redis. is it compatible with multisite?
Alex
-
This reply was modified 7 years, 12 months ago by
alexlii.
1. Redis works on server cache, so you can’t use Redis because service worker works on browser level. The service worker will serve your static assets like fonts, JS, and CSS files when it’s exist in browser caches. So Redis can’t use here.
2.Please remove the plugin and install it again, because I don’t change the version number. I tried to install the plugin directly on my WordPress and it’s work fine without AMP. AMP is optional, but will enhanced some performance by precache the page if AMP page loaded.
3. Your WordPress specs is fine. I haven’t try with multisite, but in theory it should work with that mode too.
Thanks,
Do you recommend autoptimize keep working in this situation?
Alex
You can turn off async defer feature on MCW PWA plugin because Autoptimize has a same feature. But the others still works.