• Using Oxygen builder, it uses a stylesheet called xlink which is dynamic:

    <link rel='stylesheet' id='oxygen-styles-css' href='//example/?xlink=css&ver=5.4.2' type='text/css' media='all' />

    When using the combine CSS feature it does not read this dynamic file and combine it, which would be good if it did.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @jowo thank you for reporting a potential bug and my apologies for this inconvenience!

    It should gather this stylesheet and add it to the combined list if “Cache Dynamic Loaded CSS” is enabled (from “Settings” -> “Optimize CSS”). Can you please check if it is and let me know?

    Thread Starter jowo

    (@jowo)

    Once I enable that setting the server basically dies.

    It seems to use a lot of resources?

    Is it possible to inline this dynamic CSS onto the page? I tried the inline option but it didn’t for this particular file.

    Plugin Author Gabe Livan

    (@gabelivan)

    @jowo it can happen especially if you have more than one dynamically loaded CSS/JS file. Whenever a CSS/JS file is loaded like that (it’s not a recommended pratice, but still used especially by older plugins that were coded a long time ago), the whole WP environment is loaded (in most cases, unless there’s a caching mechanism offered by the hosting company, which isn’t usually the case) including the database queries. Imagine having lots of traffic and on each page load, the WP environment is loaded several times. This leads to lots of CPU usage and in some cases errors related to insufficient resources to make the calls.

    If you’re not comfortable sharing your website’s URL here, please do so privately via https://www.gabelivan.com/contact/

    Also, what version of Oxygen are you using? I could chat with the guys behind the theme and find a way to load that CSS in a more effective way. They are usually helpful and hopefully we can find a solution as soon as possible 😉

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

The topic ‘Does not combine dynamic content’ is closed to new replies.