Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
31 May 2021, 18:53
(This post was last modified: 31 May 2021, 18:57 by Like Ra.)
(31 May 2021, 12:39 )Like Ra Wrote: I've finally tweaked the "fancybox" plugin (the one that shows the gallery) - the thumbnails load 3 times faster now, almost do not use CPU (no PHP processing) and are fully cached.
Some preliminary results:
The CPU load dropped quite obviously.
So did the page load time and page size:
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
I'm currently experimenting with the Apache security module (application firewall) - another thing I should've added years ago. Theoretically it should protect from standard/simple hacking techniques and various service abuse. Please let me know if something stops working.
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
(31 May 2021, 18:56 )Like Ra Wrote: another thing I should've added years ago. Theoretically it should protect from standard/simple hacking techniques and various service abuse.
Checked the logs... I definitely should have done it before 😂
Posts: 405
Thanks received: 188
Thanks given: 153
Joined: Dec 2019
(31 May 2021, 18:56 )Like Ra Wrote: I'm currently experimenting with the Apache security module (application firewall) - another thing I should've added years ago. Theoretically it should protect from standard/simple hacking techniques and various service abuse. Please let me know if something stops working.
( ͡° ͜ʖ ͡°)
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
01 Jun 2021, 11:25
(This post was last modified: 02 Jun 2021, 01:12 by Like Ra.)
Guys, let me know if any of your actions get denied. I've just disabled two security filters, which blocked post quoting. Yeah, everything "better" comes with a price tag...
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
(31 May 2021, 18:56 )Like Ra Wrote: I'm currently experimenting with the Apache security module (application firewall)
Fighting false positives is ... f...fun ... CRS is not quite compatible with WordPress.
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
04 Jun 2021, 00:14
(This post was last modified: 04 Jun 2021, 00:15 by Like Ra.)
Cumulative effect of the tweaked plugin and the application firewall:
Very satisfying I must say 😎
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
If someone got "Forbidden - you are not allowed to access this resource" while uploading a file to the forum - this should be fixed now. It was a false positive for the "MULTIPART_UNMATCHED_BOUNDARY - Multipart parser detected a possible unmatched boundary" security rule.
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
09 Jun 2021, 12:51
(This post was last modified: 09 Jun 2021, 18:33 by Like Ra.)
The forum is barely responding today - no ideas why yet. Checking everywhere.
Posts: 28,225
Thanks received: 14791
Thanks given: 7684
Joined: Jul 2006
09 Jun 2021, 14:50
(This post was last modified: 09 Jun 2021, 14:50 by Like Ra.)
For some reason after some time PHP stops replying to Apache...