• Hello,

    we’re running your plugin on a page with +200 visitors per minute. Instagram Feed is sending a POST request to wp-admin/admin-ajax.php for every visit to check for the plugin cache settings, which produces a lot of traffic on the wordpress core.

    Since our varnish cache is not able to cache POST requests, it would be very nice for us and similar bigger sites if you could be so kind to change the POST request into a GET request. This way, we could cache the requests your plugin is sending and would have much less load on our server. For now, we had to change the caching setting in your plugin to 0 hours to stop the high number of POST requests, which means that every user sends an API request to Instagram, which is limited to 200 / hour / user. I guess we will run out of API requests in a manner of minutes.

    On behalf of bigger blogs that need to cache their traffic, please have a look at this topic. Thanks in advance and kind regards,
    Sebastian

    • This topic was modified 5 years, 10 months ago by kslsl.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey Sebastian,

    Sorry about the issue here! We are actually working on a feature that will only require the admin-ajax requests occasionally. We already have this feature in the paid “pro” version. It will make it’s way to the free version soon though it might take some special set up to work with varnish.

    Our developer (me) is expecting a baby soon so it may be a month or so before it’s added.

    Sorry for the inconvenience in the meantime!

    – Craig

    Sort of related to this is a problem I face.

    Due to the probing I see across all of my word press sites for bot logins I usually .htaccess protect my /wp-admin/ directory. With this .htaccess in place, every hit on my photo gallery throws up a password box.

    Can the hits against admin-ajax be redirected elsewhere ?

    Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Unfortunately this is the preferred way to use AJAX with WordPress. We do have plans, as I mentioned previously, to change how this works. No solution at this time though.

    – Craig

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change POST request to GET request for admin-ajax.php’ is closed to new replies.