• Resolved TiStyle

    (@tistyle)


    Hello dev and everyone,

    First of all, thank you for this plugin, it really made my website faster! I’m not the best web developer so the question probably is an easy fix..

    The theme I’m currently using is woocommerce’s: superstore, which has 2 main stylesheets. First is called style.css and the other is custom.css (which is the one that I edit). When I update the custom.css, my site doesn’t show the changes I made, even though I flushed the cache.. Also it looks like the custom.css isn’t being minified, I think that has to do something with it.. Is there a setting I’m missing?

    https://wordpress.org/plugins/bwp-minify/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    It could be that custom.css is printed before style.css, for example:

    <link href=”/url/to/custom.css’ />
    <link href=”/url/to/style.css’ />

    Could you please take a look at your site’s source code and see if that’s the case? Normally custom.css won’t be minified because it is dynamically generated.

    Thread Starter TiStyle

    (@tistyle)

    Thank you for replying so fast!

    In my case the custom.css is printed last of all in the Head section.. I see that the style gets minified and the js also.


    I’ve made a screenshot for more detailed info.

    Thread Starter TiStyle

    (@tistyle)

    I don’t know why, but the changes I made (in the custom.css) were added just now.. But as soon as I try to add new stuff, it doesn’t change it.

    It looks like the flushing doesn’t work and the minify rebuilds itself after a certain time.

    Plugin Author Khang Minh

    (@oddoneout)

    That sounds like a caching issue, can you try visiting your custom.css via a browser and then press Ctrl + F5 to see if the changes are shown?

    Thread Starter TiStyle

    (@tistyle)

    The changes aren’t show, is it linked with the maxage function?

    Maybe I could lower the maxage value?

    Thread Starter TiStyle

    (@tistyle)

    It just updated again… Is it possible that when I change the maxage that it wil update faster?

    Plugin Author Khang Minh

    (@oddoneout)

    Your custom.css is not minified (shown as themes/superstore/custom.css) so changing maxage won’t solve anything. You probably have some caching setting server-side, perhaps some far-expire header for CSS file?

    Thread Starter TiStyle

    (@tistyle)

    Not that I know of, before I used this plugin, I was using w3 total cache. I just had to flush the cache and al my changes were live, but the plugin was unstable (caused the site to crash…) and so i had to delete it.

    How can I see if I have the expire header?

    Thread Starter TiStyle

    (@tistyle)

    It appears that I still was using cloudflare, which was also doing some cache stuff.. I’m putting it on hold so that I can edit.

    Thanks for helping me! 🙂

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

The topic ‘Failing update stylesheet’ is closed to new replies.