• I have a problem with minification with NGINX,
    Html minification work, but when i enable css or js minification causing break of site.

    These my configurations:

    Rewrite URL structure: ENABLED

    Minify mode: Auto
    Minify cache method: Opcode: Alternative PHP Cache (APC)
    HTML minifier: Default
    JS minifier: JSMin (default)
    CSS minifier: Default

    HTML minify settings: ENABLE
    Inline CSS minification: ENABLE
    Inline JS minification: ENABLE
    Line break removal: ENABLE

    JS minify settings: ENABLE

    CSS minify settings: ENABLE

    If I enable or I disable Rewrite URL structure, the problem is the same.

    This is the error show in the top of the page

    Recently an error occurred while creating the CSS / JS minify cache: Url/Filename is too long: 4/comment-reply.min. Max length is 20

    —————–

    This is the name of CSS file on “User Cache Entries” of apc.php info page:

    XXXXXXXXXXXXXXXXXXXX.css_0

Viewing 1 replies (of 1 total)
  • Thread Starter gianluca1989

    (@gianluca1989)

    This is another error:

    Recently an error occurred while creating the CSS / JS minify cache: Url/Filename is too long: 0/twentyfourteen/genericons/genericons. Max length is 5.
    —-
    How to Calculate the Value 5 (Max length is 5)?
    —-
    Automatic file name length is: 203

Viewing 1 replies (of 1 total)
  • The topic ‘Minification Problem with NGINX’ is closed to new replies.