Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1463980

    Hosting company is saying that the folder is highly populated. We need help reducing the number of files – over 100K

    #1463992

    Hey amyncuih,

    Thank you for the inquiry.

    The dynamic_avia folder contains most of the files that are generated on-the-fly when you update posts, change the style options, or download video thumbnails, etc. If you want to decrease the number of files in the folder, you can start by enabling the Enfold > Performance > Delete Old CSS and JS Files? option. This option is located at the very bottom of the panel. You can also disable the generation of the posts css file by adding this filter in the functions.php file:

    function avf_mod_post_css_create_file( $create ){
      return false;
    }
    add_filter( 'avf_post_css_create_file', 'avf_mod_post_css_create_file', 10, 1 );
    

    Another approach is to manually delete old or orphaned stylesheets and script files in the folder. These files are prefixed with names such as avia-footer-scripts, avia-gutenberg-dynamic-enfold, and avia-merged-styles. However, be sure to create a site backup before proceeding.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.