By stiven8as
I have had a lot of problems loading batch images in wordpress, I have read that there are ways to solve it by improving the database cache, how can I do it? I have seen other posts here but they talk about ubuntu 14 and they don’t relate it to wordpress
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi @stiven8as,
Let’s review a few things before you go to your MySQL. The first big issues would be the size of the images, how big are they?
If you have images with a size of 4,5,6,7 MB it will take time until they load. Imagine having 6 images which are 5 MB of size. Every time a new person opens your website, he’ll have to download 30MB of Images to open the website. Here you have a couple of ways to deal with this. Optimize images before uploading them and install a plugin to optimize them after you’ve uploaded them. There are multiple Image optimizers that can help you out in such a case.
Next, you need to Cache your website. Caching is a way of saving the homepage in order for the server to serve it more quickly. Again, since you are using WordPress, there are available plugins for this. I’ll recommend using W3-Total-Cache as it provides a couple of caching methods you can use.
Try to optimize your website, usually, the database is not the source of the problems but something else along the way is.
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.