have a look at the AO FAQ hack3rcon, lots of info on cache size there 🙂
Thank you, but according to https://wordpress.org/support/topic/contribution-autoptimize-cache-size-under-control-by-schedule-auto-cache-purge/ I must add the code in “functions.php” but where is “functions.php” file?
/var/www/html/wp-content/themes/Newspaper/mobile/functions.php
/var/www/html/wp-content/themes/Newspaper/functions.php
/var/www/html/wp-content/themes/Newspaper-child/functions.php
/var/www/html/wp-content/themes/twentyfifteen/functions.php
/var/www/html/wp-content/themes/twentyseventeen/functions.php
/var/www/html/wp-content/themes/twentysixteen/functions.php
/var/www/html/wp-content/themes/twentynineteen/functions.php
/var/www/html/wp-content/plugins/td-amp/includes/admin/functions.php
/var/www/html/wp-content/plugins/td-amp/templates/functions.php
/var/www/html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/functions.php
/var/www/html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/promises/src/functions.php
/var/www/html/wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/psr7/src/functions.php
/var/www/html/wp-content/plugins/contact-form-7/includes/functions.php
/var/www/html/wp-content/plugins/wpforms-lite/includes/admin/builder/functions.php
/var/www/html/wp-content/plugins/wpforms-lite/includes/functions.php
/var/www/html/wp-includes/functions.php
-
This reply was modified 7 years, 7 months ago by
hack3rcon.
I would advice you rather to reconfigure your Autoptimize settings actually (as a fast growing cache is an indication of other issues), but if you are sure you want to use that code (which I have not used or tested) and assuming you’re currently using the newspaper child theme, you should add it to /html/wp-content/themes/Newspaper-child/functions.php. Do take into account that theme updates will overwrite your changes and that pasting this wrong somehow can break your site, so a safer way could be adding it with the code snippets plugin.