Hi @allewreK,
Apologies, for whatever reason, that logic got lost somehow from when I added it to now.
Here's an updated Global.php file that should resolve that issue.
Cheers,
Kevin
Hi @allewreK,
Just checking in, did you encounter any issues with banned IPs with the latest version?
Thanks,
Kevin
Is this version 1.0.4.1? If not can you release it?Just checking in, did you encounter any issues with banned IPs with the latest version?
This should be part of 1.0.4.2. We will be releasing this version sometime today.Is this version 1.0.4.1? If not can you release it?
- [Bug Fix] Pages displaying "banned IP" messages are no longer cached.
Does it matter where in the .htaccess? I had it at the bottom and not within the <IfModule LiteSpeed> tags.Simply add the following to your .htaccess file:
RewriteCond %{HTTP_COOKIE} !xf_session [NC]
RewriteRule (.*)?$ - [E=Cache-Control:no-cache]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
I have on average 5k users online. 4 million unique users per month.The TTLs vary per person. Some people prefer shorter ttls, others longer.
I was running vbulletin with LSC plugin, so I added this to avoid conflicts with former installs or the backup install on a separate domain.The login cookie setting is only to be used by site admins who have multiple web applications with our cache plugin (e.g. XenForo and WordPress). If you do not have WordPress or Magento or another XenForo installation on the same site, there is no need to set this option.
I added it to be sure.Cache prefix is for a similar usage. It is meant for personalization if you need it.
I use widget framework which disables widgets for mobile. So I added this. I assume this needs to go within the <IfModule LiteSpeed> tags? Your instructions do not mention this.Separate mobile depends on your theme. If the same html is used for desktop and mobile view, there's no reason to separate it.
We use essential cookies to make this site work, and optional cookies to enhance your experience.