-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage inside a WP plugin #37
Comments
The basic idea is pretty simple. The only things that you have to do are:
Step 3 might be trickier than the others. You probably don't want the update server to handle every request sent to your WordPress site. Personally, I check |
@YahnisElsts Somehow related:
|
It's more flexible this way. It's also easier to write since I don't have to worry about the compatibility hell that is a WordPress site. Finally, performance is much better when you run this as a stand-alone script. That last factor - i.e. performance - is particularly important to me personally. I have a site that handles about 150 000 update API requests per day. In stand-alone mode, response time and server load are very reasonable. Running it as a plugin and adding WordPress overhead to every request more than quadruples response time. My VPS might just fall over if I did that.
I haven't thought about that much. All I can say that is that it wasn't a major consideration when starting this project.
As long as you comply with the license(s), I have no objection. |
Sorry for noobish question but i'm unclear on how to "load" the server inside a wordpress plugin.
I have checked the main readme on how to do it but i'm confused on what the 2 functions you posted do and what other functions will be needed
The text was updated successfully, but these errors were encountered: