WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] scalability & performance when used with heavy traffic sites (3 posts)

  1. bojote
    Member
    Posted 1 year ago #

    First, I would like to congratulate the author of this plugin. it's clean, simple and easy to use, really a very very good plugin.

    I have a very high traffic wordpress site with about a millon pageviews per day, my setup is to usually cache everything in the frontend and use reverse proxies to my wordpress install which used APC and memcached, all in all, performance is really really good.

    I noticed after installing this plugin server load spiked dramatically and while checking the logs noticed hundreds of requests like this:

    GET /wp-admin/admin-ajax.php?action=yop_poll_load_js&id=2&_wpnonce=f2c2cda666&ver=3.9
    GET /wp-admin/admin-ajax.php?action=yop_poll_load_css&id=2&_wpnonce=d39b7f3962&ver=3.9

    Why is the CSS and JS loaded dynamically with each request via ajax? it's expensive and does not scale well... or am I missing something obvious?

    http://wordpress.org/extend/plugins/yop-poll/

  2. bojote
    Member
    Posted 1 year ago #

    I patched this myself removing the referer check for the _css and _js functions and by removing the wpnonce when enqueuing the scripts. Certantly not needed as the wpnonce makes this uncacheable.

  3. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hello

    We have just released a new update and we'v included your fixes as well.

    Thank you for posting them.

    Best Regards,
    YOP Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic