Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Redis Post Views

Опис

Imagine a high traffic website that needs post views as an algorithm to display posts on the homepage.
This website also uses Varnish Caching. So we need an AJAX based post views counter.
Now imagine a minimum 5000 concurrent users browsing the website, so we can’t use the default “AJAX in Plugins” as live updates on the backend using update_post_meta will be very painful for the backend.

So what can we do ?

What if all these post views counts will be done in memory using Redis ?
Then we run a cornjob using WP-CLI to sync the post views count in Redis to the WordPress database.

Redis Post Views was born.

Скріншоти

  • Statistics admin panel
  • Posts queue admin panel
  • Configuration info admin panel

Встановлення

  • You must install Redis on your server(s)

Часті питання

Installation Instructions
  • You must install Redis on your server(s)
How can I display the post views in a template?

You can do this with get_post_meta(get_the_ID(), RPV_POST_META_KEY, true); php function

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Redis Post Views” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Redis Post Views” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.7

  • optimizations

1.6

  • moved wp-config-rpv.php wo wp-config for improved compatibility

1.5

  • WP-Admin sync all option
  • optimizations

1.4

  • show total views on Posts Queue tab
  • optimizations

1.3

  • improved stats using Chart.js

1.2

  • posibility to sync the post views in Posts Queue tab

1.1

  • added wp-admin backend including stats
  • added posibility to override settings in wp-config.php

1.0

  • in production extensive testing done