How can I reduce resources?
I'm using shared hosting and often going over my i/o limit. Is there a way to reduce my resource usage?
Rick
Re: How can I reduce resources?
Reply #2 –
Is it a file I/O, database limit or a bandwidth?
If it’s database you can cache some results to remove the usage, if it’s file you can configure PHP-FPM to cache and optimise the PHP files. If it’s bandwidth make sure gz compression is enabled on all media files where pratical.
Re: How can I reduce resources?
Reply #3 –
As others said, if its disk I/O then you need to reduce your reads/writes. In no specific order, things to try, most of which were already recommended.
- no guests
- no bots or very limited access via permissions
- reduce attachment image sizes (there is an attachment image resizing addon)
- If you use a lot of images in your posts, lazy loading may help (there is an addon)
- use cache, especially if your host has apcu or memcache available. If not and you have to use filebased, only do so if your host has enabled (or really not disabled) zend opcache.
- if your site has legit traffic, and you intend to grow more, a better hosting plan, or your own vps.