• Resolved keengamer

    (@keengamer)


    Hello,

    you said almost three years ago to make an option not to create log files. We have tens or rather hundreds of thousands images, if not more. That is being logged into the log folder. (I just checked it, it’s over 400k images.)

    Why to keep .png.md files? Is there any particular reason not to delete them?

    Can you simply delete it regularly via a cron job? This is pretty insane for files creations, backups etc.

    Regards,
    Karel

    • This topic was modified 3 years, 1 month ago by keengamer.
    • This topic was modified 3 years, 1 month ago by keengamer.
Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author rosell.dk

    (@roselldk)

    I will need some more info to be able to dig into why some of the images aren’t proccessed.

    First: How would you have expected it to be converted? The plugin offers multiple ways for images to be converted:

    – When uploaded (if enabled on settings)
    – Bulk convert
    – WP CLI
    – When source image is visisited and no webp exists (when “Enable redirection to converter?” is enabled on settings, found in .htaccess rules section)
    – When webp image is visisited (when “Create webp files upon request?” is enabled)

    Thread Starter keengamer

    (@keengamer)

    Eh, just see here https://imgur.com/a/Lb9JHKA And I use CDN friendly mode.

    Plugin Author rosell.dk

    (@roselldk)

    Ok.
    To sum up your settings:
    – Operation Mode: CDN friendly mode
    – “Create webp files upon request?”: enabled
    – Alter HTML: enabled
    – Alter HTML method: Replace -tags with <picture>-tags
    – Alter HTML, reference webps that haven’t been converted yet: yes

    This means that webp images are not converted until requested directly. This happens when a user views a page which links to the images in a <picture> tag. Note that only the images that are inserted with tags are turned into “webp” references. So background images etc will not be requested and thus not converted. To catch more images, you can consider switching the Alter HTML method to “Replace image URLs”. To catch all, you need to switch the Operation mode to “Varied image responses”.

    Thread Starter keengamer

    (@keengamer)

    Thanks, seems to be working now with some more tweaks with the settings ??

    Plugin Author rosell.dk

    (@roselldk)

    I have now added an option for disabling logging and a button for deleting all log files.

    It has just been released (0.22.0).

    A number of other features and fixes has been made. I therefore felt like releasing and postponed the convert functionality in the file manager till next release.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Log folder HUUUGE’ is closed to new replies.