Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

On one of my client's site, I see that my plugin's JS and CSS files are minified.

Trying to identify what causes the files to minify, I tried to deactivate all plugins (except mine), and changing the theme to TwentyEleven. However, the files were still minified.

What else could cause the files to be minified?

share|improve this question
    
Where do the minified files reside? Has there been a plugin such as W3TC active? –  vancoder Mar 8 '13 at 22:34
    
@vancoder: The minified files are in wp-content/plugins/my-plugin/.../my-jsfile.js. I'm not sure whether the W3TC plugin was active in the past. I can't see it in the list of the plugins. –  Misha Moroshko Mar 8 '13 at 22:52
    
are u using mu-plugin folder? –  Ünsal Korkmaz Mar 8 '13 at 22:53
    
of course, this is my plugin's folder. –  Misha Moroshko Mar 8 '13 at 22:58
    
Hmm, possibly it's being automatically minified server-side. Check the host's control panel? I assume there isn't a CDN involved? If there is, check the settings there too. –  vancoder Mar 8 '13 at 23:02

1 Answer 1

Did you check your hosting environment to see if they've enabled something like mod_pagespeed?

https://developers.google.com/speed/pagespeed/mod

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.