binary-coffee-dev / dcs-blog

Our own blog for the community
GNU General Public License v3.0
9 stars 0 forks source link

Update post views attribute algorithm #17

Open wil92 opened 4 years ago

wil92 commented 4 years ago

The post views are calculated each time one post is requested from the api. The ideal solution would be to use the user address and check on each request this address, in this way the views are going to be unique per user.

This is not a critical issue, so it can be solved in a not near feature

wil92 commented 4 years ago

Take a look at the solution proposed in this StackOverflow question: https://stackoverflow.com/questions/49020777/how-to-count-unique-views-to-a-blog-post-logged-in-and-non-logged-in-user-usin/49028398#49028398