massive logo GET requests
-
Every frontend wordpress page request triggered multiple GET requests from the server IP to the logo url.
I could retrace it to the function yasr_getimagesize from yet-another-stars-rating/includes/yasr-includes-functions.php which first calls “yasr_check_valid_url()”. This function triggers the first logo GET request.
If this function returns true it triggers getimagesize() which downloads the logo image again.
I hotfixed the problem by adding a transient cache call to the function, so it doesn’t check the same image URL with every single frontend page request since these requests made >90% of the whole website traffic and overloaded our webserver.
Could you please fix this behavior?
You must be logged in to reply to this topic.