Best way to disable Cache on Forum
-
Hi,
I installed WPForo on my website recently. It adds a forum to my website where all the content is located on URLs which follow the pattern
my-domain.com/community/*
.The issue I am facing is that whenever a user posts something on the forum, it does not appear right away. This is due to caching by LiteSpeed.
I came up with two solutions for this problem.
1. Disable cache for logged in users because they are the ones who will be updating the content and need to see updates immediately.
2. Disable all cache for the forum by going to Settings > Exclude > Do Not Cache URIs and adding:community/ community/*
Which one do you think would be better for performance?
I have a question about solution 1. Since the caching is disabled only for logged in users, will logged out users see outdated pages? For example, a logged-in user might add a new post in a forum thread. How long will it it take logged out users to see that update?
Thanks.
- The topic ‘Best way to disable Cache on Forum’ is closed to new replies.