• Resolved keepersdungeon

    (@keepersdungeon)


    Hello,
    I’m trying to generate UCSS files but I’m getting the following error
    Failed to communicate with QUIC.cloud server:
    Unknown error: too many parameters [server] https://node12.quic.cloud [service] ucss

    Tried the following:
    -Purged All UCSS + Purge All cache
    -Redetect button in General page and on the Generate UCSS but nothing seems to work and on the Quic.Cloud Dashboard nothing is being generated.

    Any suggestions?
    Thank you!

    Report number:?BODGRIUN

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

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

    (@qtwrk)

    please try this

    edit file /wp-content/plugins/litespeed-cache/src/cloud.cls.php , at line 693 , you will see );

    add this after it :

    error_log(print_r($param, true), 3, WP_CONTENT_DIR . '/lscwp1.log');

    then please try to tirgger the error again , once you make it happen again , then check if you got /wp-content/lscwp1.log file , if so , please share it

    Plugin Support qtwrk

    (@qtwrk)

    actually , it seems your provider has also created a ticket with us

    and I quote from that ticket:

    okay , actually the issue is due to the UCSS Selector Allowlist, this site has a huge list like 1015 lines of it

    please verify if it actually needs such huge list , and also , try to reduce the repeated ones with wildcard

    for example

    .vc_col-sm-1
    .vc_col-sm-10
    .vc_col-sm-11
    .vc_col-sm-12
    .vc_col-sm-2
    .vc_col-sm-3
    .vc_col-sm-4
    .vc_col-sm-5
    .vc_col-sm-6
    .vc_col-sm-7
    .vc_col-sm-8
    .vc_col-sm-9
    

    can be reduced to .vc_col-sm-* with wildcard symbol

    Thread Starter keepersdungeon

    (@keepersdungeon)

    hello yeah indeed they did.

    Oh ok thanks I’ll have a look. Weird though coz after the error I removed all the whitelist and tried and still got the same issues. But I’ll give that another try and report back.

    Thread Starter keepersdungeon

    (@keepersdungeon)

    I’ve cleared all the white list just had combine and UCSS generation but nothing happens
    It’s using the quota, but the UCSS URL list is still in queue even after force manually (it turns green though)
    And in Quic.Cloud dashboard nothing visible in recent requests
    Report number: IHUGLCQX

    EDIT: It actually worked 10 min later without any white list.
    Gonna try to use wildcard and see.
    Do u have any tips on how to adjust that list? or how many line should it be at max?

    Plugin Support qtwrk

    (@qtwrk)

    actually our dev just raised the limit, you can put back your previous list if you want , it should work with big list as well now

    and once you click , nothing happens, in particular, no error message, and URL links become “green” in color, that means the UCSS generation request is sent and in process

    Thread Starter keepersdungeon

    (@keepersdungeon)

    Oh I wondered how it started to work lol. But actually some pages reached the 30 second time limit error on them. This seems too complicated to fix on each pages just for few KBs.
    And I’m wondering, correct me if I’m wrong:
    Without the Combine and UCSS, the site will load several css files. but most of them will be reused on other pages (specially the one from the theme which is the biggest one).
    But if I have UCSS, it ‘s going to load a different css file for each page, so although it’s smaller, it’s downloading more data. Am I right?

    Plugin Support qtwrk

    (@qtwrk)

    without combine/UCSS , the page will load same amount of CSS code as without plugin , it will have all the CSS, whether used , or not used

    with UCSS , it will generate the Unique (or Used) CSS for this page

    for example , just imagining it, your site may have 500KB worth of CSS in total , but homepage uses first 100 KB of it , shop page uses last 100KB of it , product page uses middle 300KB of it , by that saying , the homepage and shop page is loading 500KB CSS file , but only needed 100KB out of it , and another 400KB CSS file was loaded for nothing

    Thread Starter keepersdungeon

    (@keepersdungeon)

    Right! I thought that if it loads it once it will cache it and it won’t need to download it back again and just read it from the cache, instead of downloading unique css for every page.

    And let’s say I have UCSS generated on all the pages of my site and one day I have made some changes to a certain page that requires a new UCSS to be generated, would that be done on page update for just that specific page? Or do I need to purge all UCSS and re-generate them for the entire website again just for one page?

    Plugin Support qtwrk

    (@qtwrk)

    unfortunately that is the only way at this moment , we have to do list for something like “purge UCSS by URL” but not out yet.

    Plugin Support qtwrk

    (@qtwrk)

    just to update, I was wrong, there is an option from admin bar like my screenshot

    Thread Starter keepersdungeon

    (@keepersdungeon)

    ah great thank u for the info !

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.