Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Minify xxx.php css files?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frederick Townes


    Yes you can minify those files (unless they have bugs), but I often recommend avoiding it because if there’s ever a bug that makes them return invalid CSS, your entire site layout “breaks”.

    In the source code you should see that the file is no longer embedded in the <head> if the file address is properly matched. You wouldn’t want to include http://localhost/ in the address.

    Hi Frederick,

    Thanks for the quick reply.

    The plugin seems to strip the http://localhost/ when the uri is saved in any case. This still verifies when the verify button is pressed.

    However, the source code still has the the embeded css styles in the head section. I checked in debug mode and there are no errors relating to your plugin, but there is a wp error…

    [18-Mar-2012 00:59:34 UTC] PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in C:\wampserver2\www\mysite\wp-includes\functions.php on line 3587

    Dont know if this is relevant. I’m using wp v3.3.1

    Plugin Author Frederick Townes


    W3TC doesn’t need the host in single site mode.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: W3 Total Cache] Minify xxx.php css files?’ is closed to new replies.