The view counts from the blog posts list result in a single /stats/post
network request for each post in the list, as well as multiple SQL queries on the backend for each /stats/post
request. This is highly inefficient and not acceptable performance both for customers' devices as well as our servers.
The "X Views" counts will be removed from posts in the blog posts list. It may return in some fashion in the future should customer needs require it and it can be implemented in an efficient manner.
Before:
After:
See internal discussion for more details: p8F9tW-RX-p2
1.
2.
/stats/post
requests are made for individual posts3.
4.
/stats/post
requests are made for individual postsJust mentioning here that user in 3676429-hc would like to see this feature back
5740736-hc: Noting that this user wanted to see the same back as well.
forum post: https://en.forums.wordpress.com/topic/views-57/
Another complaint about this in 1350057-zen
Were mostly relieved to know that it wasn't something they had accidentally turned off.
Another user mentioned about missing it: #5120254-hc
Edit: Suggested to inform of these changes.
Another user misses this feature: #5796234-hc
Another user missing this feature #1895467-hc
Asked about this: #1363353-zen
Another user who would like to see this feature come back #1364730-zen
Another one in #1066876-hc
I'm upset they've removed this. Now I do not know how many people are viewing my blogs. As I said before, it's very time consuming and cumbersome to have to click on the three dots, and et cetera et cetera -- and even after counting all the numbers up, I see they only go to a certain extent -- they don't show all the hits each of my blogs has gotten.
Yep. Also have another customer with the same:
I agree it's better to not have this cause the dashboard to be impacted so much, so maybe if we can look into at least allowing customers to just filter by posts instead of Posts & Pages in the Stats section of the Dashboard would be a good alternative.
Customers just want an easy way to see total views at a glance somewhere.
One thing that has come up in the forums a few times is the question about why the "like" count is still shown but the "views" count is gone.
@jmdodd mentioned to me that this was because we store the like count in the same table as the post data (at least I think that's what was said).
From a user/UX experience I can see how this could be confusing when one count is removed but the other remains. It did give me an idea though, I'm not sure how technically plausible this is because I know adding new columns in the DB is a bit of task but would storing a cached number of views in the database work here?
Edit: Oops! I now see #26894 and will follow that one :)
To clarify, like data is not stored alongside post data, but is stored in a more query-friendly manner than stats because we do not usually break them out over days.
In #27090, we introduced a new "Recent Views" glance that shows a post's views in the last 30 days (if they have any) and links to the post's full stats page.
Most helpful comment
To clarify, like data is not stored alongside post data, but is stored in a more query-friendly manner than stats because we do not usually break them out over days.