• Resolved sa55i

    (@sa55i)


    Hi dear, thx for your work. Houston we have a problem.

    We have noticed some cpu spikes during the night, it is most likely due to the css combination. You can see from the screen, the times of the spikes with the time of the creation of the combined css.
    Look at the screenshots, we also excluded some css files
    How can we fix?

    CPU: https://imgur.com/a/4fMfrsa
    SERVER FILE (see time) https://imgur.com/LmENGFw

    We have css minification and css combining. We only have javascript minification because combining javascript also creates spikes

    Thx for your reply

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support daniellaivanova

    (@daniellaivanova)

    Hello @sa55i,

    Usually, the high number of minified CSS files is due to some script in the theme/plugin that dynamically generates different content and due to that, the page is minified again and again upon further visits.

    It, however, should not be a reason for the elevated CPU usage, but rather a consequence of something else, like more access to the page for example.

    According to the screenshot you sent, the CPU usage appears to be at its normal values, however, in case you need further information about it – you can always contact us by posting a ticket from your SiteGround Client Area.

    As for the multiple minified CSS files, you can check how to properly investigate and exclude scripts that cannot be minified here.

    Best Regards,
    Daniela Ivanova

    Thread Starter sa55i

    (@sa55i)

    Hi dear, thx for reply
    Check 1st screenshot. At 05.24 maybe no traffic on our website (we are an italian website, time zone rome)
    could it be that css combination creates cpu spike?
    thx again in advance for reply

    Plugin Support daniellaivanova

    (@daniellaivanova)

    Thank you for your update @sa55i,

    The CSS files are generated upon a website visit and are a result of the access to your site. Hence, there should have been traffic at that time.

    You can review the access towards your website from your Site Tools > Statistics > Access logs.

    Best Regards,
    Daniela Ivanova

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Spike CPU – CSS optimization’ is closed to new replies.