Open robinbisping opened 1 year ago
To be honest, I love this line of thought. Being able to compute more complex data would have many advantages, allowing people to aggregate the counts however they choose.
The good news is, this is perfectly aligned with my long-terms plans for the View Count plugin. It is destined for a significant overhaul which will bring with it some (maybe all) of the capabilities you described.
I'm not sure exactly when this overhaul will take place, hopefully by the end of 2023. I'll keep this thread open until we eventually get there.
Thanks for the feedback! 👍
Sounds great! I am looking forward to it.
In order to display trending entries, it would be great to have several count aggregations, e.g. counts within the last month.
Currently, the plugin only stores a total view count. To compute such an aggregation, one could already calculate it from the views log. However, this is an expensive operation and requires storing all count events in the first place.
What do you think of this idea?