Keyword

K2 Item Hits

  • Red Evolution
  • Red Evolution's Avatar Topic Author
  • Offline
  • Senior Member
More
2 weeks 5 days ago #173704 by Red Evolution
Red Evolution created the topic: K2 Item Hits
Hi Fotis,

On afloat.ie/ we have been using a hit counter to display article views but unfortunately this doesn't work with the caching system we would like to implement to help speed the site up. We have implemented a new page counter using an svg image to track and increment the hits and would like to completely turn off the K2 one rather than just disabling it in the frontend. We found that this isn't possible currently so is this a setting that you would be able to implement in the backend settings?

Dave

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 5 days ago #173711 by Fotis
Fotis replied the topic: K2 Item Hits
Sure, it's very easy to add an option. Noted for the next update coming out tomorrow (provided it's a matter of adding a switch to enable/disable the relevant item model method call for hits).

For the record I have an incomplete solution to be implemented early 2020 with a JS based way to keep track of hits and bypass not just Joomla caching but server caching (like Varnish) as well. The new way to track hits does require an additional DB table though to make things perform better under heavy traffic.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Red Evolution
  • Red Evolution's Avatar Topic Author
  • Offline
  • Senior Member
More
2 weeks 4 days ago #173714 by Red Evolution
Red Evolution replied the topic: K2 Item Hits
That's great Fotis, thanks!

Good to hear you have got plans for a brand new hit counting system too, look forward to seeing that next year

Please Log in or Create an account to join the conversation.

More
2 weeks 4 days ago #173719 by mjmartino
mjmartino replied the topic: K2 Item Hits

For the record I have an incomplete solution to be implemented early 2020 with a JS based way to keep track of hits and bypass not just Joomla caching but server caching (like Varnish) as well. The new way to track hits does require an additional DB table though to make things perform better under heavy traffic.


This is be a nice feature!

I wait for this too :D

Please Log in or Create an account to join the conversation.

  • Fábio Jordan
  • Fábio Jordan's Avatar
  • Offline
  • Senior Member
  • Nothing like a good coffee to make a better web
More
2 weeks 4 days ago #173726 by Fábio Jordan
Fábio Jordan replied the topic: K2 Item Hits
Cool! I have the same problem because of cache and have to count on GA to get better results of hits.

Waiting for this update!

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 4 days ago #173729 by Fotis
Fotis replied the topic: K2 Item Hits
@RedEvolution I will have the option for disabling item hits on the GitHub repo by today, however I'm postponing the release of 2.10.1 for Monday, so it gets better traction from users.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Red Evolution
  • Red Evolution's Avatar Topic Author
  • Offline
  • Senior Member
More
2 weeks 1 day ago #173769 by Red Evolution
Red Evolution replied the topic: K2 Item Hits
Thanks for the update Fotis, look forward to seeing the next version. In reference to your larger update coming next year, I mentioned it to our server guy and he said that that sounds like it would still be hammering mysql with hit data and that the modern, secure performant method that all iPhone apps are using is to use Redis as it's literally made for that purpose. It's also being adopted by websites and it's what he has used for his override hit counter on the clients site. Perhaps something worth looking into to see how easily you can tie it into K2.

Dave

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #173770 by Franz Heine
Franz Heine replied the topic: K2 Item Hits
Hi Fotis,

if weve updated to 2.10.0. already. Is there a need for 2.10.1?
Or are you just "tuning" a bit?

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
1 week 6 days ago #173789 by Fotis
Fotis replied the topic: K2 Item Hits
@Red Evolution v2.10.1 is out now with a switch for hits. Thank you for the suggestions.

@Franz Heine You should update to v2.10.1.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum