Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chicop

    (@chicop)

    This is a more detailed description:

    The 1st request is a 200, then the loop starts and the server answer with 304 which is the expected behaviour. The problem is that the application keeps asking the server for the autoptimize file as you can see here.

    The generated element on IE11 and Edge has an attribute that other browsers don’t have (data-loadcss). Is this the expected behaviour? Apart from the different engines, this is the only difference detected:

    <link onload="this.onload=null;this.rel='stylesheet'" href="https://[OMITTED].pantheonsite.io/wp-content/uploads/autoptimize/css/autoptimize_b343e2a5a7f5cf1c9a206a99ae3d3a96.css" rel="stylesheet" media="all" as="style" data-loadcss="true">

    Also, I noticed this issue on Github: here
    It reports the same problem I have and I think that is the same polyfill that autoptimizes uses.

    This error began when we disabled the JS process on the ‘Autoptimize’ plugin and added a hash to our new minified js files with our build process (webpack).

    Thanks for the help

    • This reply was modified 7 years, 8 months ago by chicop.
    Thread Starter chicop

    (@chicop)

    Hi Frank,

    Yes, I have the default enabled

    https://d.pr/i/JLM6Nv

Viewing 2 replies - 1 through 2 (of 2 total)