• Resolved José

    (@zeh32)


    Hello,

    I’ve noticed that my CSSJS folder on wp-content/litespeed/cssjs is getting bigger and bigger. Before I made a complete database cleanning on LiteSpeed Cache > Database > Clean CSS/JS Optimizer the folder had about 8.5GB.

    So, after read this old thread and your docs about “Disk Space Filling Fast”, I started to search for random strings in the source code of my website. I realized that my theme (Flatsome) allways generate random strings for CSS classes for a lot of elements.

    How to solve that? If you guys need, my Report number is: NVOCBXPB

    Best regards,

    José Guilherme

    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,

    Please check this page

    also wait for next release which should address this issue

    Best regards,

    Thread Starter José

    (@zeh32)

    Sorry, but you mentioned the same page that I mentioned on my question…

    And do you know when the release is going to be delivered?

    Regards

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    the issue is caused by “combine inline/external JS/CSS” you could disable them for the time being

    you can try add these into CSS exclude

    row-
    col-
    cats-
    stack-
    timer-
    gap-
    portfolio-
    image_
    banner-
    map-
    text-box-
    page-header-
    section_

    that’s the case I encountered with flatsome before.

    I don’t have definitive date for that , but hopefully later April or early May

    Best regards,

    Thread Starter José

    (@zeh32)

    Hello,

    After exclude the mentioned CSS classes and an extensive trial and error approach, I have concluded that the problem is associated with Javascript, not CSS.

    If I only activate CSS optimizations, there is no problem. But, when I activate JS optimizations, the CSSJS table is incremented on each access (even if I test on static pages, just like the Privacy Policy page of my website).

    So, basically, the problem is with these options: JS Combine and JS Combine External and Inline. If I deactivate them, everything runs fine!

    As I would like to keep them activated, I had to change 3 things on my website:

    • Removed the Site Kit by Google plugin
    • Added “gallery-” in the CSS excludes. You guys need to add this ID to your predefined list too.
    • Replaced the Flatsome Map element by a simple embeded Map, as described here.

    That is all!

    Regards,

    José

    • This reply was modified 3 years, 7 months ago by José.
    Thread Starter José

    (@zeh32)

    One thing that I’ve noticed, is that the number shown on Clean CSS/JS Optimizer (XX) side parenthesis (on Database option), increases if I load a page in a desktop and in a mobile browser. The same thing happens If I am logged in as an administrator or if I’m not.

    Is that right? Thank you!

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes, that is normal as it increased , as long as it’s within reasonable number

    if you see it keep growing until you reached same or bigger size for your cssjs table , then that means we didn’t exclude the correct string

    Best regards,

    Thread Starter José

    (@zeh32)

    Hello,

    But is it ok for the table to generate different files if I access the page on a desktop browser and on a mobile browser?

    Regards,

    José

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I am not sure what do you mean by table in this context ? the table device ? or database table ?

    Best regards,

    Thread Starter José

    (@zeh32)

    Hello,

    The CSSJS database table.

    Best regards,

    José

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    as long as the row number in that table is reasonable number

    some theme/plugins might have different JS/CSS for desktop and mobile page

    Best regards,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problem with CSSJS table and Flatsome theme’ is closed to new replies.