• Resolved RobotFX

    (@wattaman)


    The plugin creates 2 CSS and 1 JSS file. As seen in Chrome dev tools, only the first CSS file is pushed.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter RobotFX

    (@wattaman)

    On a second look, the second CSS file that loads in the dev tools, which is .min.css, does not appear in the page source code. Instead, in the source there is only the 1st CSS file (also .min.css, the file that gets the PUSH), and another CSS that is not minified (.css).
    By the way, I have added the

          header("Link: </wp-content/mmr/5db83f5c-1608113665.min.js>; as=script; rel=preload", false);
    

    as an alternative to JS push. I cannot do the same for the second CSS file because it always changes its name.

    • This reply was modified 5 years, 5 months ago by RobotFX.
    Plugin Author launchinteractive

    (@launchinteractive)

    Hi Andy,

    Is your site behind a CDN or some other sort of caching?

    Thread Starter RobotFX

    (@wattaman)

    Cloudflare (free), but bypassing the Cloudflare’s cache didn’t solve the issue.

    Plugin Author launchinteractive

    (@launchinteractive)

    Are you able to provide your site url?

    Thread Starter RobotFX

    (@wattaman)

    Seems that the Enable Output Buffering fixed it. Cheers.

    Plugin Author launchinteractive

    (@launchinteractive)

    Ahh thats good. Some other plugin must be outputting content before the header request can be set.

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

The topic ‘JS/CSS push ain’t working properly’ is closed to new replies.