MyBB Community Forums

Full Version: Clear Cache
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

My website is integrated and I decided to change the foldername /mybb to /topics.

When I refreshed on the main site /index.php I got a white page. Cool, I just cleared cache and it was working fine. Now only I knew about it but for those that did NOT log out and simply closed with the EXIT button on their browser will not know what to do. Is there a way I can clear people's cache for them? I guess the answer is more likely to be no. :-S

What I would like to do it kind of LOG THEM OUT in a way so they can see the pages correctly.
I think they'll see your forum without any issues. Since its your browser's cache issue.
Add this to .htaccess:
<IfModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</IfModule>

This will prevent the files from being loaded from the cache. Leave it in there for a week or so, once you are certain that most users have revisited your website, and remove it again.