Skip to content

Incorrect cache size triggering unnecessary email warnings #414

@galbaras

Description

@galbaras

I'm getting "Autoptimize cache size warning" emails. Looking at the code, I can see that the plugin is comparing the size to 536870912, which is 512MB, but the actual size is 266506240, which is only 254.16MB. Below is a capture from cPanel's Disk Usage page:

image

The autoptimize_stats transient is currently unset, so the plugin seems to be counting file sizes incorrectly.

There is no overriding code for any of the filters used by the plugin in my child theme or in the parent theme (Divi, if this makes any difference).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions