• Resolved psamathe

    (@psamathe)


    Maybe I’m missing the point but in the plug-in I have the various minify (both CSS & JS) options enabled as well as the combine and push options enabled but the CSS delivered to the browser for WordPress, theme, plug-ins, etc. are the CSS files as provided (i.e. when the plug-in has a “min” variant that is used but when it has only the human readable, commented version that is delivered) and no minification nor combine seems to be carried out.

    These options have been enabled for ages and the cache has been purged many times since the ptions being enabled.

    Is the functionality dependent on options enabled by the hosting compan (I’m on shared server hosting).

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please provide the report number ?

    Best regards,

    Thread Starter psamathe

    (@psamathe)

    Sorry, I hadn’t done one (didn’t even realise that was how it worked). Just done one

    Report number: XNEFKTGP

    Report date: 08/21/2019 12:11:25

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please check:

    1. do you have opcache ? if so , please purge or disable it if possible

    2. please check if files/directory exists in “wp-content/cache/css/” and “wp-content/cache/js/”

    there should be files with 5-random-digital name.

    3. please check if there is any PHP error in log

    Best regards,

    Thread Starter psamathe

    (@psamathe)

    1. No other cache plug-ins loaded. Hosting is on Lightspeed (shared server hosting)

    2. “wp-content/cache/” exists but it’s empty and no subdirectories in it

    3. Where would I find the logs? The only logs I can see are the access logs (request for <xxx> from IP <xxx> date/time, etc.)

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    1. Please create a PHPinfo page , with code

    <?php
    phpinfo();

    then access it by https://your_domain.com/phpinfo.php

    search for keyword opcache and see if you got any.

    2. Please create a PHP file , name it like test.php with code:

    <?php
    mkdir("./wp-content/cache/css", 0755);
    
    $file = file_get_contents('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
    file_put_contents('./wp-content/cache/css/test.css', $file);
    ?>

    and access it by https://your_domain.com/test.php

    the page should be blank , it’s fine , then please go to check if it creates css folder inside /wp-content/cache , and it should be a test.css inside css folder.

    Please let me know if this works or not.

    3. Assuming you are using cPanel , it should be in /public_html/error_log

    Thread Starter psamathe

    (@psamathe)

    1. Done (https://psamathe.net/phpinfo.php – do check it yourself). There is a reference to opcache but I have no idea what opcache is etc.)

    2. Done and it has created the css subdirectory and created a test.css in that sub-directory

    3. It is under cPanel and the error log (/public_html/error_log has nothing since back in May related to a child theme when I was creating the child theme).

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Now that is weird , please remove that phpinfo , expose it in public is a security risk.

    Also please submit a ticket here , we will investigate it further.

    Best regards,

    Thread Starter psamathe

    (@psamathe)

    Done. Ticket Created #299682

    (And both the phpinfo.php and test.php removed from web server but they can be put back if needed to collect info for the ticket – just ask).

    Many thanks.

    • This reply was modified 5 years, 3 months ago by psamathe.
    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    The minify/combine issue has been solved.

    The cause was a WP-cron plugin that makes every page as “DOING_CRON”.

    Best regards,

    Thread Starter psamathe

    (@psamathe)

    Many thanks to LiteSpeed for a quick response and fast solution.

    10/10

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Minify Options Not Doing Anything’ is closed to new replies.