Title: Spike CPU &#8211; CSS optimization
Last modified: March 8, 2023

---

# Spike CPU – CSS optimization

 *  Resolved [sa55i](https://wordpress.org/support/users/sa55i/)
 * (@sa55i)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/spike-cpu-css-optimization/)
 * 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 filesHow can we fix?
 * CPU: [https://imgur.com/a/4fMfrsa](https://imgur.com/a/4fMfrsa)
   SERVER FILE (
   see time) [https://imgur.com/LmENGFw](https://imgur.com/LmENGFw)We have css minification
   and css combining. We only have javascript minification because combining javascript
   also creates spikesThx for your reply
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fspike-cpu-css-optimization%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [daniellaivanova](https://wordpress.org/support/users/daniellaivanova/)
 * (@daniellaivanova)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/spike-cpu-css-optimization/#post-16539675)
 * Hello [@sa55i](https://wordpress.org/support/users/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](https://wordpress.org/support/topic/how-to-use-sg-optimizers-filters-procedure/).
   
   Best Regards,Daniela Ivanova
 *  Thread Starter [sa55i](https://wordpress.org/support/users/sa55i/)
 * (@sa55i)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/spike-cpu-css-optimization/#post-16539697)
 * 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](https://wordpress.org/support/users/daniellaivanova/)
 * (@daniellaivanova)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/spike-cpu-css-optimization/#post-16539831)
 * Thank you for your update [@sa55i](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [daniellaivanova](https://wordpress.org/support/users/daniellaivanova/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/spike-cpu-css-optimization/#post-16539831)
 * Status: resolved