ModSecurity icon indicating copy to clipboard operation
ModSecurity copied to clipboard

feature request: cache transformed value

Open liudongmiao opened this issue 3 years ago • 4 comments

In our case (180 rules), after cache, the performance increase about 5% - 10%.

Currently, we use a map on Transactions, and the key is key + path.

liudongmiao avatar Mar 16 '22 13:03 liudongmiao

This is actually something that I've thought about for some time, as I know at least some other WAFs do something akin to this.

martinhsv avatar Mar 16 '22 13:03 martinhsv

Would this be an option?

liudongmiao avatar Mar 17 '22 00:03 liudongmiao

If it's not an option, I can add a PR (I have completed).

If it's an option, it's hard for me to define directive.

liudongmiao avatar Mar 17 '22 00:03 liudongmiao

What about the SecCacheTransformations directive?

marcstern avatar Jan 26 '24 08:01 marcstern