Title: Autoptimize file compression
Last modified: August 31, 2016

---

# Autoptimize file compression

 *  Resolved [joyfully](https://wordpress.org/support/users/joyfully/)
 * (@joyfully)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/)
 * I need to compress/minify the js and css files of autoptimize plugin for my site–
   suggested Google analytics and SEO tools. I am using apache. Please tell me how
   I can do this?
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443034)
 * minification is done automatically. google might claim it can be minified even
   more, if you’re concerned with that [have a look at this thread](https://wordpress.org/support/topic/javascript-comments-1?replies=9).
 * compression is done by the webserver, and AO tries to convince Apache to do so.
   if this does not work, you can simply turn off “static file delivery” (last option)
   and the files will be compressed by PHP.
 * hope this helps,
    frank
 *  Thread Starter [joyfully](https://wordpress.org/support/users/joyfully/)
 * (@joyfully)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443067)
 * Thanks Frank, but it really didn’t solve anything. Both Google and the SEO tools
   now say the php files need compressing – so I can’t win on this one. Thought 
   it would be best to turn on the “static file” delivery.
 * Cheers!
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443068)
 * weird … can you share the URL of your site?
 *  Thread Starter [joyfully](https://wordpress.org/support/users/joyfully/)
 * (@joyfully)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443074)
 * It’ [http://heritagepainter.com.au](http://heritagepainter.com.au)
    I have since
   taken the caching back to “static file delivery”.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443085)
 * had a quick look and can confirm ao’s JS & CSS files are properly compressed (
   by apache). both files however do contain “important” comments which AO does 
   not remove by default, which explains why some tools might claim there’s more
   to squeeze out of minification. if you want to bother with that (personally i
   think the gains would be minimal), then there’s [more info in this thread](https://wordpress.org/support/topic/javascript-comments-1?replies=9)(
   it’s about JS, but also pertains tot CSS).
 * frank
 *  Thread Starter [joyfully](https://wordpress.org/support/users/joyfully/)
 * (@joyfully)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443139)
 * Thanks Frank! By the way, is there a need to purge the cache from time to time,
   and if so, is there a way of clearing out the cache?
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443155)
 * AO will display a warning on the WP dashboard if cache size goes over half a 
   Gigabyte. Clearing cache can by done by clicking the “save changes & empty cache”-
   button on the settings-page 🙂
 * have a nice weekend!
    frank

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

The topic ‘Autoptimize file compression’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/autoptimize-file-compression/#post-7443155)
 * Status: resolved