Thanks for taking the time to investigate this so thoroughly and for sharing your findings — we truly appreciate the detailed analysis.
Why this happens:
In All-in-One Video Gallery, the view count is updated via AJAX because, technically, a view should be counted only after a visitor clicks the Play button on the player. This ensures accurate statistics, but on high-traffic websites or pages with many videos, this can result in a large number of requests to:
/wp-admin/admin-ajax.php
which may trigger CPU usage warnings from some hosting providers.
Our upcoming improvement:
We’re already considering moving this logic to a custom REST API endpoint instead of using admin-ajax.php. This approach should significantly reduce overhead and improve performance. We plan to include this enhancement in an upcoming version. Thank you for bringing this to our attention 👍
Immediate solution:
Unfortunately, there is currently no built-in option to completely disable this AJAX request.
That said, no worries — we can usually optimize this based on how the player is initialized on your site.
Please contact us directly via our support portal and include your site URL:
👉 https://plugins360.com/support/
Once we review your setup, we can identify the exact player initialization method being used and provide a suitable code patch to bypass or significantly reduce the AJAX load.
Thanks again for reaching out. We’re happy to help and ensure the plugin runs efficiently on your website.
@sanrosh
thanks.
The news about the upcoming update is quite good.
I don’t want this for myself. I’m sure other plugin users are also experiencing problems.
My suggestion: don’t make this feature mandatory. It should be optional to enable/disable it.
The video counter feature is of no importance to me, frankly.
Best wishes.
Thank you for the feedback — we completely understand your point, and it’s a valid one.
You’re absolutely right that view counts may not be important for everyone, and we agree that this feature should ideally be optional. We’ve already noted this internally and will take it into account while improving the implementation in a future release, especially as we work on moving this logic away from admin-ajax.php.
At the moment, however, this feature is not configurable via a setting, and we can’t reliably optimize or bypass the AJAX call globally without reviewing how the player is initialized on a specific site. That’s why we previously requested the site URL.
Please contact us via our support portal and share your site address:
👉 https://plugins360.com/support/
Once we review your setup, we can provide a safe code patch that disables or bypasses the AJAX load for your use case.
Thanks again for taking the time to share your thoughts. Constructive feedback like this genuinely helps us make the plugin better for everyone.
@aga2442
We’ve just released version 4.7.5.
Please update the plugin to the latest version. After updating:
- Navigate to Video Gallery → Settings → Player
- Locate the “Enable Views Counting” option
- Uncheck the setting and save changes
- Check again to see if the issue is resolved
We hope this fixes the problem. Please let us know if you still experience any issues.