Is there a tried and true best practice for displaying most viewed posts?
Do people normally set up a viewed table and count records? I believe this would require a join of the posts and viewed table when retrieving data. Is there a better way? Thanks.
Is there a tried and true best practice for displaying most viewed posts? Do
Share
Perhaps create a
viewstable with a unique id, post id, and IP address/unique identifier. That way you can sort by all views/unique views.You order by would be