How to Reduce Wordpress File Counts?

bluvia

Active member
Feb 6, 2021
236
82
28
Your options as I see it are ;
1- Remove unneeded sites and WordPress plugins/themes. You might try removing plugins/themes via WP vs FTP your hosting provider's file manager. Not sure if the results will vary.
2-Change some sites to be static files instead of WordPress sites. WordPress has a lot of files…
3-Move sites to a different hosting account ( VPS ) . This is going to be the only option that gives you a great amount of flexibility.
 
  • Like
Reactions: mydownloadforum

r3turn_z3r0

Well-known member
Feb 3, 2020
141
175
50
Paradise
Some hosts don't use directory/file watching but adds to your inode counter when you upload files, try zipping your ftp uploads into a single archive and use the SSH shell to unzip them into the target directory.
 
  • Like
Reactions: mydownloadforum
Mar 16, 2019
47
4
8
Thanks for the Reply But i am trying to convert no. of Individual files to few files by combining it. so that no. of files reduces.
 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
Okay, well if Elementor is your main page builder then https://babiato.tech/resources/toolkit-for-elementor.8405/ is your best bet. For all other use cases, go with https://babiato.tech/resources/wp-rocket-best-caching-plugin-for-wp.318/ .

Both of them have a minify and combine feature that would give you the desired "webpack" effect.
That combines files 'on-the-fly', it does not reduce the files on the server, so the inode count is still the same.
I wonder why OP wants to reduce files, a normal WordPress install doesn't have an exorbitant number of files.

Do you happen to have a large number of images and if so, maybe a huge amount of image file sizes? If so, try to reduce the file sizes automatically created.

Sometimes caching leaves behind too many files, although good caching plug-ins have an automated 'housekeeping' feature.
 
Mar 16, 2019
47
4
8
That combines files 'on-the-fly', it does not reduce the files on the server, so the inode count is still the same.
I wonder why OP wants to reduce files, a normal WordPress install doesn't have an exorbitant number of files.

Do you happen to have a large number of images and if so, maybe a huge amount of image file sizes? If so, try to reduce the file sizes automatically created.

Sometimes caching leaves behind too many files, although good caching plug-ins have an automated 'housekeeping' feature.
Yes Images are too many but its size is not more of a concern as there is inodes limited which leads to control of uploading files as they create various sizes thumbnails too
 

Forum statistics

Threads
69,385
Messages
909,426
Members
238,993
Latest member
eracle360

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu