Support » Plugin: WP Fastest Cache » "Combine CSS" changing priority of CSS cascade?

  • Resolved kaplunkiigirl

    (@kaplunkiigirl)


    Hi Emre,

    Thanks for your great caching plugin. It’s the only one that doesn’t break my site, so I really appreciate that.

    I’ve been using the CSS combine option with no issues (or so I thought), but I’ve noticed a couple of instances where the cached page renders differently from the original page, due to differences in the CSS cascade.

    My theme has a file for custom CSS rules, and I have explicitly loaded this file after all other css files, to ensure that it takes priority over all other stylesheets loaded by the various plugins. However, it seems that when the CSS is combined, the order of files and/or rules is changing, such that my custom css is being overriden by the stylesheet from one of my plugins in the cached version of my pages.

    In the original file, the plugin rule is less important than my theme’s rules, so it works as expected, but in the cached version, the order is reversed, and so displays incorrectly.

    I can fix this on an issue-by-issue basis, by adding more specificity to my rules, but only if I notice it. A more general fix would be ideal.

    I’m not sure exactly how the CSS combine works, so I don’t know exactly why it’s happening, but is this something that you can resolve?

    Thanks,

    Nikki

    https://wordpress.org/plugins/wp-fastest-cache/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Emre Vona

    (@emrevona)

    thanks for your comment 🙂

    First of all, I need to say that I am trying to develop a plugin which works with all systems. But it cannot be possible sometimes.

    I’m not sure exactly how the CSS combine works,

    Combine css feature combines the files sequentially.

    Can you tell me your url pleaes?

    I appreciate that it’s tricky to get something that works with every possible situation, but seeing as this is the only caching plugin that works for me (and works so well), I’m crossing my fingers that we can find a way to make it keep working.

    My site is at
    http://www.yawarra.com.au/

    So at the moment, I have the caching plugin active, but the Combine CSS option is turned off for now.

    Thanks,

    Nikki

    Plugin Author Emre Vona

    (@emrevona)

    Hi again kaplunkiigirl , I fixed the issue. Can you do the steps below please?

    – Deactive the plugin
    – Remove the plugin
    – remove /wp-content/cache/
    – Download the plugin again
    – Re-install

    and Can you inform me after testing please?

    Hi Emre,

    Thanks for the update. I followed your instructions to the letter and unfortunately it broke my CSS in a bigger way.

    Fortunately I was doing it on a test copy of my site so my live site is fine and you can see the effect it had on my test site, for example on this page once it’s cached
    http://wp1.yawarra.com.au/shop/rackmount/dual-rackmount-apu-1/

    vs how it’s supposed to look
    http://www.yawarra.com.au/shop/rackmount/dual-rackmount-apu-1/

    Thanks,

    Nikki

    Plugin Author Emre Vona

    (@emrevona)

    Can you send me your theme please?

    fastestcache@gmail.com

    Hi Emre,

    I’m using Genesis with the Dynamik Website Builder child theme, and I honestly don’t understand what you’re asking me to do. Can you ask it a different way and then I might get it? Thanks.

    Nikki

    Plugin Author Emre Vona

    (@emrevona)

    Can you make zip and send to my mailbox?

    I can do that, but will you be able to really see everything you need if all you have is my theme’s files? There’s lots of custom functions and CSS that I’ve added, including the code that reorders the included CSS files, that might not be so easy to see in the files. I’m happy to give you access to a dev copy of my site if that would make your job any easier.

    Plugin Author Emre Vona

    (@emrevona)

    it could be better for me surely.

    you can send me the login information – fastestcache@gmail.com

    Login information sent.

    Thank you!

    Plugin Author Emre Vona

    (@emrevona)

    Hİ kaplunkiigirl , I fixed the issue. Can you do the steps below please?

    – Deactive the plugin
    – Remove the plugin
    – remove /wp-content/cache/
    – Download the plugin again
    – Re-install

    and Can you inform me after testing please?

    Plugin Author Emre Vona

    (@emrevona)

    fixed

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘"Combine CSS" changing priority of CSS cascade?’ is closed to new replies.