Title: AO.css load time
Last modified: September 13, 2016

---

# AO.css load time

 *  [tabasco86](https://wordpress.org/support/users/tabasco86/)
 * (@tabasco86)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ao-css-load-time/)
 * Hey Frank,
    I hope you’re doing well. I have a quick question. Last week I realized
   there was an [@import](https://wordpress.org/support/users/import/) importing
   the theme’s style.css into the child theme.css (hence unnecessarily increasing
   the total page size & css code) – as I enqueued the themes style.css. Anyways,
   since then my site nearly doubled in page load time which is great, however I
   now on rare occcasions have noticed something strange happening.
 * Off and on when opening the page for some odd reason the ao.css file needs forever
   to load (maybe once in a couple of times when clearing the browser cache). I 
   noticed it because sometimes a page needs forever to load. If I click f5 the 
   page then loads immediately.
    Here is a report from gtmetrix: gtmetrix.com/reports/
   cormilu.com.br/TN3U0j0r
 * Do you have any reason what could be causing this or blocking the file from loading?
 * thanks for any ideas.
    Have a great week
    -  This topic was modified 9 years, 9 months ago by [tabasco86](https://wordpress.org/support/users/tabasco86/).
    -  This topic was modified 9 years, 9 months ago by [tabasco86](https://wordpress.org/support/users/tabasco86/).

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ao-css-load-time/#post-8176498)
 * hi tabasco86, how is everything? 🙂
 * well, it’s a request to cloudfront (your CDN). if cloudfront for whatever reason
   does not have the file, it will request it from the origin site (your webserver).
   as it’s a static file, your webserver just has to read it from disk, no PHP (
   wordpress or autoptimize) involved.
 * so what causes the delay? cloudfront not having the file, requesting it from 
   your webserver and something delaying that response perhaps (maybe temporary 
   disk I/O issues?).
 * very hard to say I’m afraid. it _could_ be you’re better off without a CDN (test,
   your mileage may vary).
 * greeting from sunny belgium 🙂
    frank
 *  Thread Starter [tabasco86](https://wordpress.org/support/users/tabasco86/)
 * (@tabasco86)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ao-css-load-time/#post-8179528)
 * Hey Frank,
 * thanks for the heads up. I’m gonna have a look at potentially requesting it from
   our webserver, as well as disable AO to check if maybe some specific file is 
   causing issues. What is the ?ao_noptimize=1 for the new AO version? The old code
   doesnt seem to work anymore.
 * greetings from rainy brasil 🙂
 * Amir
 *  Thread Starter [tabasco86](https://wordpress.org/support/users/tabasco86/)
 * (@tabasco86)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ao-css-load-time/#post-8179546)
 * Oh ya,
    small question. Is there a way to also include ttf and woff files in 
   AO?
 * Cheers
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ao-css-load-time/#post-8179618)
 * it’s still ?ao_noptimize=1 amir, should work (except if you have your page cache
   configured to disregard query strings)
 * regarding fonts; if you mean forcing them on CDN, that can be done with a filter.
   if you mean inlining the fonts as base64’ed strings; that’s not possible (you’d
   get way too big CSS that way).
 * frank

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

The topic ‘AO.css load time’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/ao-css-load-time/#post-8179618)
 * Status: not resolved