How do I exclude Wordfence so it doesn't take up disk space?
-
Hey guys,
I’ve got a website with about 100-200 visitors a day and I’m using Wordfence to ‘improve security’. I also use Autoptimize because our developer made a design that contains 43 JS requests and 28 CSS sheet requests.. So I needed something to reduce requests.
Wordfence hoggs diskspace
However, for every page that is loaded Wordfence adds some inline Javascript requesting some personal info (IP, browser, etc.). That means a string that’s unique per page and per visitor. Which means Autoptimize creates a cached version for every page and visitor. At the current rate Autoptimize creates caching files equal to about 1 gigabyte per 4-5 days, filling the disk space in a very fast pace. At least, I think Wordfence is the only culprit, if I have to believe this guide finding it.So how do I exclude Wordfence?
There is no .js file of Wordfence on each page, so how do I exclude Autoptimize from caching it?https://www.ads-software.com/plugins/autoptimize/
Update:
I’ve currently set Autoptimize to not cache/aggregate inline-Javascript, which is where Wordfence is put. This should result in less cached pages. However, besides Wordfence there are more Inline-javascript scripts so I’d prefer to turn that option on again. So I’m still seeking a solution. Thanks
- The topic ‘How do I exclude Wordfence so it doesn't take up disk space?’ is closed to new replies.