Support » Plugin: Autoptimize » Refused to execute script

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Autoptimize does not define mime-type for the CSS or JS files Thomas, that typically is done on webserver-level. The correct mime-type(s) for JS are text/javascript (or application/javascript) so you will likely have to change webserver configuration?

    frank

    Thread Starter thomastolkien

    (@thomastolkien)

    Thanks for looking into this.

    I’ve checked the server but there haven’t been any changes made or logged.

    Cloudflare apparently has a 10-minute outage, bizarrely (or not) at exactly the same time these errors surfaced.

    I’ve purged everything at origin and edge and the errors no longer show.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, well, it’s the endpoint that sets the mime-type, in this case cloudflare, to it’s indeed possible this is somehow related. good to read all is well now 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.