Well, it took some time to get this release out, but it was worth it: Simple History is now faster than ever before.
Was it not fast before, you may ask. And yes, it was. Most of the time anyway: to minimize the risk of the database growing to large Simple History by default removes all events that are older than 60 days. This behavior is however something that you as a user can change using filters.
If you wanted, you could expand this from 60 days to for example 120 days. Or disable it completely, making Simple History store all site events forever. And forever in combination with lots of users and lots of updated equals a very large log after some months. And that’s when the plugin got a little slow.
Until this version that is. With this release Simple History automagically checks how many events there are the last week or month, and if the number is large it applies a search filter during load, so it only loads for example the events from last week. Or last two weeks. It’s pretty smart so it adapts to the number of events you have. Large amount of events = only load the last week. Small amount of events = load the last month, or even all events no matter the time.
More nice things in this release
This release also features some other nice things: