WordPress.org

Ready to get started?Download WordPress

Forums

WP Fastest Cache
[resolved] "Combine CSS" changing priority of CSS cascade? (13 posts)

  1. kaplunkiigirl
    Member
    Posted 9 months ago #

    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/

  2. Emre Vona
    Member
    Plugin Author

    Posted 9 months ago #

    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?

  3. kaplunkiigirl
    Member
    Posted 9 months ago #

    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

  4. Emre Vona
    Member
    Plugin Author

    Posted 9 months ago #

    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?

  5. kaplunkiigirl
    Member
    Posted 9 months ago #

    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

  6. Emre Vona
    Member
    Plugin Author

    Posted 9 months ago #

    Can you send me your theme please?

    fastestcache@gmail.com

  7. kaplunkiigirl
    Member
    Posted 9 months ago #

    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

  8. Emre Vona
    Member
    Plugin Author

    Posted 9 months ago #

    Can you make zip and send to my mailbox?

  9. kaplunkiigirl
    Member
    Posted 9 months ago #

    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.

  10. Emre Vona
    Member
    Plugin Author

    Posted 9 months ago #

    it could be better for me surely.

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

  11. kaplunkiigirl
    Member
    Posted 9 months ago #

    Login information sent.

    Thank you!

  12. Emre Vona
    Member
    Plugin Author

    Posted 9 months ago #

    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?

  13. Emre Vona
    Member
    Plugin Author

    Posted 9 months ago #

    fixed

Reply

You must log in to post.

About this Plugin

About this Topic