I have struggled for a while with a slow forum. And have spent a while trying to find out what is wrong, and how I can fix the problems.
Today I finally got my forum to a decent speed ( between 2-4 seconds with no optimization) so I thought I would share what I think made the big difference.
Changing to a light theme helped a little, but the single most important change was databases!!
Move all databases over to InnoDB, except for:
- wp_wpforo_likes
- wp_wpforo_visits
Those should be on MyIsam.
This more than halved my load time! from 8-10 seconds, to 2-4! This was a big move.
Keep plug ins as low as possible, and make sure your wpforo caches are all enabled.
You do not need an optimising plug in with these settings. But you can use one if you like. But make sure you either exclude the forum url ( https://example.com/community/ ) from any caching, and the Java code:
wp-includes/js/tinymce
from any js optimizer 🙂
Thats about it!
@percysgrowroom finally your forum can run faster 🙂 congratulations.
If you moved to php 8, your forum can running more fast, 2-3 times more faster
but make sure your plugin is compatible with this brand new php.
combined the script, compress the images, make sure file request as low as possible, using CDN, etc can make different result too.
btw good job
Thank you very much!
The other day I was trying to optimize my database but then realized that woforo tables are mostly InnoDB. So I was wondering if I should change them to MyIsam or vise versa, and found the answer here. 👍
But do wpforo experts confirm this solution? is it completely safe?