Comments (9)
Which plugin are you referring to?
"Excessive logging" means plugins that constantly log data to the MySQL database, such as traffic statistics, post views, and other items that are impossible to cache.
These types of logging should typically be done using third party tracking scripts, etc.
from slickstack.
Hi
Plugin name is hitsteps-visitor-manager
Yes, it is a traffic statistics plugin but it does not log anything to local mysql. It loads 3rd party javascript from Hitsteps analytics.
from slickstack.
It looks to be loading tons of API calls to display analytics around the WP Admin in any case, that's really not conducive to WordPress performance.
(All that really needs to be loaded is a simple external JS in the footer.)
We've updated the reason for blacklist to "bloated" and "excessive API calls"... thanks --
from slickstack.
On admin area, there are 4 API calls to show graph (from our own server) for each post, and 1 API call to show total graph on WP Admin bar and 3 calls show configure Hitsteps widget and setting page for admin.
On visitors area, there are header and footer API calls to install our javascript code. (some themes lack proper wp-head and/or some theme lack wp-footer, therefor we had to add both to support both)
How many API calls are considered excessive?
Which features should we remove in order to not be considered in blacklist?
We can remove certain API calls if SS (SlickStack) is defined.
from slickstack.
Sorry, didn't realize it was your plugin. I suppose we'd define "excessive API calls" as either:
- API calls that are unnecessary to begin with (or)
- more API calls than is reasonable for the type of plugin
I think it's the first category. If your analytics company has a homepage with a UI for users, I'm not sure why you are turning the WP Admin into a secondary full-fledged UI.
It kind of goes to the argument that "yours is not the only WP plugin installed"...
If newbie users are loving your approach, then I'd at least recommend releasing a 2nd plugin that does nothing except load your external JS in the header/footer. High traffic sites, high security sites, etc are never going to be able to use a bulky plugin like this as it is now.
Compare:
E.g. https://github.com/littlebizzy/statcounter
E.g. https://wordpress.org/plugins/crazyegg-heatmap-tracking/
Your JS/etc should also be delivered by a respected CDN if possible (if not already), IMO.
from slickstack.
Hi
If we make 2 different versions of plugin, it will cause confusion among our users. (we had two versions before, we removed simple version from WordPress Repo)
Our enhanced features are tightly working with WordPress and WordPress forms such as Contact forms or wooCommerce purchase notice will show visitor information inside the email received by website owner.
In order to provide a simplified way for SlickStack users, I will work toward making a simple version within same plugin. So If simple version is chosen OR if SlickStack is installed, plugin does not have additional API callbacks and only work as a simple script injector in footer.
So plugin will look for SlickStack and If SlickStack found, it will recommend simple version to enhance performance of website (or completely remove advanced version? what do you think?)
Reason that I am keen to make Hitsteps works alongside with SlickStack is that I am keen about goal you are aiming to achieve, being able to have a fast WordPress setup with minimal resource requirement is very valuable specially with rise of AWS and other cloud platforms.
Would you have a second look into it once simple version is ready?
from slickstack.
For our purposes that wouldn't help, as it still has potential to have poor performance.
It's either a lightweight plugin with good performance, or not.
from slickstack.
Outside of SlickStack context, this plugin performance is not poor at all. API calls that we are using (graphs within posts and header), they just render a simple which content of this image get generated and loaded in Hitsteps servers. Integration with other plugins only get called if those plugins are installed and Hitsteps is configured to integrate with them.
We will disable ALL enhanced features for SlickStack users, so all enhanced codes do not load at all, making plugin act as a simple JS injector. PHP would not processed those codes therefore I do not see any problem where this will be considered as poor performance. We would not provide option for SlickStack users to switch to enhanced version.
from slickstack.
If a team wanted to whitelist something they can always fork this repo in any case. This repo is what our web hosting company uses, another team can customize how they wish --
from slickstack.
Related Issues (20)
- SS_ADMINER_PUBLIC="false" does not work as intended. HOT 9
- Allow tuning of PHP8 JIT settings (opcache.jit options in php.ini) HOT 2
- Cloudflare real visitor IP support in Nginx config HOT 18
- Option to allow only Cloudflare IPs to connect to origin server HOT 2
- OpenVZ PHP-FPM "Unable to set priority for the master process: Permission denied" HOT 8
- Support for custom Permissions Policy HTTP header in Nginx HOT 6
- Improve WP-Cron robustness for Multisite environments HOT 3
- Scanning WordPress core files to check if intact or broken HOT 4
- Redirect .php extension to WordPress if not exists HOT 4
- Why deny /wp-admin/load-styles.php and /wp-admin/load-scripts.php? HOT 3
- Nginx access log enabled by default but nginx.conf says not HOT 5
- Spam Content HOT 1
- Expose additional options for ss remote backup HOT 2
- support for local development ? HOT 1
- 403 Error on Static Assets with Query Strings on SlickStack.io HOT 1
- Implement Server-Wide Connection Limit to Mitigate Request Overload HOT 1
- ss-config had a build version update, but ss-update-config didn't HOT 4
- Can't get it to work out of the box? HOT 1
- 403 google bot error
- Consider optional cache warming script that can fire on cron schedules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slickstack.