Yes, as of v2.1 the AMP plugin will serve module scripts to supporting browsers. So what was previously:
<script async custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
Is now:
<script src="https://cdn.ampproject.org/v0/amp-analytics-0.1.mjs" async="" custom-element="amp-analytics" type="module" crossorigin="anonymous"></script>
<script async nomodule src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js" crossorigin="anonymous" custom-element="amp-analytics"></script>
The script[type=module] is served to modern browsers while the script[nomodule] is served to old browsers (especially IE 11).
The problem is that WP Fastest Cache is stripping out the type="module" attribute which is required. On the non-module scripts, the nomodule attribute must be retained.
Learn more about JavaScript modules on MDN.
We have the same problem Emre bey! Iyi bayramlar btw 🙂
the problem is caused by the premium plugin. To create threads about the premium version on wordpress.org forum is forbidden so please contact us via email about the problem which is related to the premium version.
Please contact us via email for the solution: https://www.wpfastestcache.com/contact-us/