• Resolved Josue Ardon

    (@josueardon)


    Hello guys,

    I was wondering if you could help me with something. I want to take advantage of the CSS Combine feature (Combine CSS files and inline CSS code). When I enable this feature my website has a couple of problems, so I have followed the ‘File and Exclude the Problematic Files’ instructions in the Troubleshooting CSS/JS Issues. But there are a couple of files that keep saved in cache. Even though, I have excluded those two files and I have purged all cache as well.

    The ‘File and Exclude the Problematic Files’ instructions in the Troubleshooting CSS/JS Issues worked very well for me excluding the JS issues, but I haven been able to make it work for CSS, I’ve tired three times.
    The reason I want to use both functions is that I am trying to make my website load faster.

    I had to disable CSS Combine function because I haven’t been able to exclude this CSS problematic files.

    I am using the TravelTour theme.

    Would you guys have some advice? By the way, I am not very good with coding or advance HTML, etc.

    Thank you in advance,

    • This topic was modified 4 years, 2 months ago by Josue Ardon.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    But there are a couple of files that keep saved in cache. Even though, I have excluded those two files and I have purged all cache as well.

    May I know what string did you put into exclude box ?

    Best regards,

    Thread Starter Josue Ardon

    (@josueardon)

    Hi,

    Thanks for your answer. The string of CSS files is a bit long, so I hope it is possible to paste it here:

    
    https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,regular,italic,600,600italic,700,700italic,800,800italic%7CRoboto:500,400%7CRaleway:900,400&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese
    https://mayangateway.com/wp-content/litespeed/cssjs/52867.css?c8f6d
    https://mayangateway.com/wp-content/litespeed/cssjs/e12e0.css?fd0fd
    https://mayangateway.com/wp-content/litespeed/cssjs/04ff7.css?751f0
    https://mayangateway.com/wp-content/litespeed/cssjs/09674.css?ef3c5
    https://mayangateway.com/wp-content/litespeed/cssjs/33f85.css?aa36d
    https://mayangateway.com/wp-content/litespeed/cssjs/e58f2.css?81940
    https://mayangateway.com/wp-content/litespeed/cssjs/40a71.css?4b57a
    https://mayangateway.com/wp-content/litespeed/cssjs/6c6ae.css?068e4
    https://mayangateway.com/wp-content/litespeed/cssjs/e30d6.css?55206
    https://mayangateway.com/wp-content/litespeed/cssjs/a22ec.css?8a525
    https://mayangateway.com/wp-content/litespeed/cssjs/49020.css?93221
    https://mayangateway.com/wp-content/litespeed/cssjs/0c662.css?319cc
    https://use.fontawesome.com/releases/v5.3.1/css/all.css
    https://mayangateway.com/wp-content/litespeed/cssjs/d13dd.css?7daa8
    https://mayangateway.com/wp-content/litespeed/cssjs/d13dd.css?63dd5
    https://mayangateway.com/wp-content/litespeed/cssjs/d13dd.css?f6f07
    https://mayangateway.com/wp-content/litespeed/cssjs/d13dd.css?d109b
    https://mayangateway.com/wp-content/litespeed/cssjs/d13dd.css?74df5
    https://mayangateway.com/wp-content/litespeed/cssjs/d13dd.css?eb367
    https://mayangateway.com/wp-content/litespeed/cssjs/d13dd.css?89b04
    

    The two CSS files that keep showing on cache after putting the string, and purging all cache are:

    
    https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,regular,italic,600,600italic,700,700italic,800,800italic%7CRoboto:500,400%7CRaleway:900,400&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese
    https://use.fontawesome.com/releases/v5.3.1/css/all.css
    

    I’m not sure if this is what you meant?
    Josue

    • This reply was modified 4 years, 2 months ago by Josue Ardon.
    • This reply was modified 4 years, 1 month ago by Jan Dembowski. Reason: Formatting
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    these https://mayangateway.com/wp-content/litespeed/cssjs/xxxxx.css?xxxxx

    are file names generated by LSCWP

    you need to exclude it from the source file name

    you should get the source file name when you disable the minify/combine options.

    Best regards,

    Thread Starter Josue Ardon

    (@josueardon)

    Hi,

    I’ve disable the CSS Combine, and get these files in order to exclude them on Tuning Settings – CSS Excludes. Then I have purged All.

    After this, I have enable CSS Combine again, and got a smaller list of files which I have also excluded on Tuning Settings – CSS Excludes (and purged all) but the problems on the website persists.

    These two files continue being shown in the Disk Cache even after excluding them:

    
    https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,regular,italic,600,600italic,700,700italic,800,800italic%7CRoboto:500,400%7CRaleway:900,400&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese
    https://use.fontawesome.com/releases/v5.3.1/css/all.css
    

    Is this what am I suppose to be doing in this case?

    The problems only appear when I enable the CSS Combine setting, so I have disabled it, and my website works fine. However, I would like to take advantage of this setting to improve speed.

    Best wishes,

    • This reply was modified 4 years, 1 month ago by Jan Dembowski. Reason: Formatting
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please try this after you enable CSS combine

    1. disable “combine inline and external” , purge all , see how it goes

    2. if 1) is still no good , then put

    wp-content
    wp-includes

    into the CSS exclude list, purge all , and see how it goes

    Best regards,

    Thread Starter Josue Ardon

    (@josueardon)

    Hi,

    The option 1 didn’t work, but Option 2 did work. Thank you for your help.
    Best wishes,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    okay , that means the CSS in question is within wp-content and wp-includes

    now you can try only put wp-content into exclude list

    if that still works , you can further narrow it down to wp-content/plugins and wp-content/themes , to narrow it down within plugins and themes

    then you can keep narrow it down until you find the final file name.

    Best regards,

    Thread Starter Josue Ardon

    (@josueardon)

    Hi,

    I appreciate that. I was able to narrow it down to wp-content/plugins. I guess this is the final file name, and that would be all I am supposed to do right?

    Best wishes,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    no , there should be some directory inside of /wp-content/plugins , and you can repeat the above process to further narrow it down to which directly it was

    Best regards,

    Thread Starter Josue Ardon

    (@josueardon)

    Hi,

    Understood, I have already done it and found the plugin. It is one of the theme’s plugins: wp-content/plugins/goodlayers-core
    Thank you for your assistance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘When I exclude a couple of CSS files, they keep saved in cache’ is closed to new replies.