I have to build a "Hot topics this month feature" that needs to be dynamic and appear on the homepage of a website.
The only way that I can think of doing this dynamically is that every article page would write an entry to the database when a user lands on the article.
Then I could query this table over the past 30 days and pick the top 'x' number.
Don't get me wrong I could put some caching on this, but with more entries going into the database the longer this feature will take to load.
Hot topics this month feature
I have to build a "Hot topics this month feature" that needs to be dynamic and appear on the homepage of a website.
The only way that I can think of doing this dynamically is that every article page would write an entry to the database when a user lands on the article.
Then I could query this table over the past 30 days and pick the top 'x' number.
Don't get me wrong I could put some caching on this, but with more entries going into the database the longer this feature will take to load.
Any suggestions would be appreciated.
Hi Craig, I've created a package for this. I've came up with the idea while reading your post so thank you very much! :-)
Check it out!
https://our.umbraco.org/projects/backoffice-extensions/uincrement/
Wow!!!!
That was probably a little more than I expected :)
Will download in the morning and give it a spin !!!!!
is working on a reply...