WordPress.org

Forums

[Plugin: W3 Total Cache] Minfiy: 404 Not found (10 posts)

  1. ragulka
    Member
    Posted 5 years ago #

    Hi, I just installed W3 Total Cache and I'm having trouble woth the minify stuff. I specified all the JS and CSS files I wanted to minify in Minify Settings page. I also verified that the links are correct by clicking on the Verify links. However, after I save Changes, and clear cache, the default.include.js shows this:

    /* minify_130e1ae9d07e2c4a2a18a2ddef985bcd.js */
    /* 1 */ 404 Not Found
    /* 2 */
    ;
    /* minify_0a71b48327de1236ce3041511a2d060b.js */
    /* 1 */ 404 Not Found
    /* 2 */
    ;
    /* minify_a25de26f5403c2dafec291fcfcb46469.js */
    /* 1 */ 404 Not Found
    /* 2 */
    ;
    /* minify_154e86100c1d77b3126e4ed8ceca4929.js */
    /* 1 */ 404 Not Found
    /* 2 */
    ;
    /* minify_594748a6fe5c0aa3d1ac867d5a989219.js */
    /* 1 */ 404 Not Found
    /* 2 */
    ;
    /* minify_206f944e6ec7364eb998f04ac0b5667c.js */
    /* 1 */ 404 Not Found
    /* 2 */

    When I look at the contents of those minified js files, it looks like this:
    404 Not Found

    Is there something I am doing wrong or is this a bug?

  2. Frederick Townes
    Member
    Posted 5 years ago #

    One of the files you're trying to minify evidently has an issue. Check out the minify log inside the wp-content/w3tc/ directory to learn more.

  3. ragulka
    Member
    Posted 5 years ago #

    Hi,

    the log folder is totally empty. Also, when I check the w3tc/min folder, it has a few minify_<random_number>.js files. Every one of them is 1KB in size and has only one line in it: 404 Not Found

  4. Frederick Townes
    Member
    Posted 5 years ago #

    Minify is unable to download the files. Make sure to use local paths (without http://domain.com/) wherever possible. Try with 1 file at a time until you get things working. Also make sure you're using the latest W3TC.

  5. Ned
    Member
    Posted 5 years ago #

    i've had this issue on every site where I've tried the plugin for both CSS and JS minification. I don't get any logs or minify_<random_number>.js files.

    /wp-content/w3tc/min/default.include.js
    and
    /wp-content/w3tc/min/default.include.css

    always turn up 404 errors. i've tried flies one at a time and both with and without ?ver=xxx strings on those that include them. the latest version of W3TC won't let me enter file names without the http://domain.com

    Our host uses Apache 2.2 with no crazy settings so far as i know. I've tried it on other hosts with the same problem.

  6. Frederick Townes
    Member
    Posted 5 years ago #

    Are you sure these are local files? Have you tried the 'Check URI' button for the files before saving your settings?

  7. Ned
    Member
    Posted 5 years ago #

    I tried disabling "Rewrite URL Structure" and received an alert message with some .haccess code. I added that to my .htaccess file, deleted all the caches, and things seem to be working. Still having some issues with js file combining, but I'm assuming that's just issues with the js files created by some of the other plugins. Is there any disadvantage to leaving the "Rewrite URL Structure" function off?

  8. Frederick Townes
    Member
    Posted 5 years ago #

    Did you check URI on all of your files? You never answered my previous question

    Is there any disadvantage to leaving the "Rewrite URL Structure" function off?

    I don't know what the goals are for your site so I can't answer this question.

  9. Ned
    Member
    Posted 5 years ago #

    Sorry. URIs on the files were all OK. Haven't run into any issues with "Rewrite URL Structure" off, so no problem there.

    On a completely unrelated note, is there any plan to support Rackspace Cloud Files as one of the CDN options?

  10. Frederick Townes
    Member
    Posted 5 years ago #

    Yes.

Topic Closed

This topic has been closed to new replies.

About this Topic