Currency switcher overloading admin-ajax.php ?
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from DavDav43 on July 10, 2024, 19:45Hi there,
I noticed today with GT Metrix that the currency switcher is causing very long load times for the Post admin-ajax.php file. It was taking on average 7 seconds, causing a final page load time of 8 seconds. From GT Metrix I clicked on "post" and saw the following below. It seems to be on pages with the currency switcher.
action=wpcs_get_prices_html&prices_data%5B0%5D%5Bid%5D=wpcs_668dd1501365f&prices_data%5B0%5D%5Bprice%5D=1537.8501566681meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data%5B1%5D%5Bid%5D=wpcs_668dd1501683d&prices_data%5B1%5D%5Bprice%5D=395meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data%5B2%5D%5Bid%5D=wpcs_668dd15018b2f&prices_data%5B2%5D%5Bprice%5D=140.96959769457meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data%5B3%5D%5Bid%5D=wpcs_668dd1501b154&prices_data%5B3%5D%5Bprice%5D=188.50138976577meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data%5B4%5D%5Bid%5D=wpcs_668dd1501dc2f&prices_data%5B4%5D%5Bprice%5D=216.94467837611meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data%5B5%5D%5Bid%5D=wpcs_668dd15020211&prices_data%5B5%5D%5Bprice%5D=200.41814429119meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D .....
Hi there,
I noticed today with GT Metrix that the currency switcher is causing very long load times for the Post admin-ajax.php file. It was taking on average 7 seconds, causing a final page load time of 8 seconds. From GT Metrix I clicked on"post" and saw the following below. It seems to be on pages with the currency switcher.
%5D=1537.8501566681meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data%5B1%5D%5Bid%5D
=wpcs_668dd1501683d&prices_data%5B1%5D%5Bprice%5D=395meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency
%3D&prices_data%5B2%5D%5Bid%5D=wpcs_668dd15018b2f&prices_data%5B2%5D%5Bprice%5D=140.96959769457meta_value
%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data%5B3%5D%5Bid%5D=wpcs_668dd1501b154&prices_data
%5B3%5D%5Bprice%5D=188.50138976577meta_value%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D&prices_data
%5B4%5D%5Bid%5D=wpcs_668dd1501dc2f&prices_data%5B4%5D%5Bprice%5D=216.94467837611meta_value%3Dtype%3Dnotfixedpost_id
%3D0fix_currency%3D&prices_data%5B5%5D%5Bid%5D=wpcs_668dd15020211&prices_data%5B5%5D%5Bprice%5D=200.41814429119meta_value
%3Dtype%3Dnotfixedpost_id%3D0fix_currency%3D .....
Quote from Pablo Borysenco on July 11, 2024, 12:41Hello
Yes, the plugin makes an ajax request. But it doesn't take 8 seconds. The plugin waits for the page to fully load and then makes an ajax request (possibly at 7 seconds of site loading)
This functionality is needed to redraw cached prices. You can turn this off - https://share.pluginus.net/image/i20240710235237.png
Hello
Yes, the plugin makes an ajax request. But it doesn't take 8 seconds. The plugin waits for the page to fully load and then makes an ajax request (possibly at 7 seconds of site loading)
This functionality is needed to redraw cached prices. You can turn this off - https://share.pluginus.net/image/i20240710235237.png
Quote from DavDav43 on July 11, 2024, 12:58Hello Pablo,
No my site takes 1 second to load on average. Please look at the screenshot in the hidden area. You will see it is the ajax request which is taking 7 seconds.
I am using WP Rocket caching but I have excluded the following from being delayed: "currency-switcher" and "wpcs". So what should I do?
Hello Pablo,
No my site takes 1 second to load on average. Please look at the screenshot in the hidden area. You will see it is the ajax request which is taking 7 seconds.
I am using WP Rocket caching but I have excluded the following from being delayed:"currency-switcher" and"wpcs". So what should I do?
Quote from Pablo Borysenco on July 11, 2024, 13:27Hello
I saw your GTmetrix and that's why I wrote you this - https://share.pluginus.net/image/i20240711142208.png
drop me wp-admin + ftp access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - I will check it
Hello
I saw your GTmetrix and that's why I wrote you this - https://share.pluginus.net/image/i20240711142208.png
drop me wp-admin + ftp access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - I will check it
Quote from DavDav43 on July 11, 2024, 14:48OK let me make a staging site and I will send you login.
OK let me make a staging site and I will send you login.
Quote from Pablo Borysenco on July 12, 2024, 11:29Hello
Ok! I'm waiting for your answer
Hello
Ok! I'm waiting for your answer
Quote from DavDav43 on July 15, 2024, 19:16Hi. OK I have created a staging for you and added details to private area. Thanks
Hi. OK I have created a staging for you and added details to private area. Thanks
Quote from Pablo Borysenco on July 17, 2024, 13:35Hello
I checked your site - https://c2n.me/4lc2xSl - And it's a fact: the request takes 0.34 seconds
Hello
I checked your site - https://c2n.me/4lc2xSl - And it's a fact: the request takes 0.34 seconds
Quote from DavDav43 on July 17, 2024, 14:18Yes I saw too on the network tab it looked OK, however on GT Metrix it was showing it differently.
Would you mind checking with GT Metrix and looking at the Post admin-ajax.php file load time?
Yes I saw too on the network tab it looked OK, however on GT Metrix it was showing it differently.
Would you mind checking with GT Metrix and looking at the Post admin-ajax.php file load time?
Quote from Pablo Borysenco on July 18, 2024, 09:41Hello
I've already checked this - https://share.pluginus.net/image/i20240718101352.png
I made a performance test in 2 modes (with and without ajax request) - https://c2n.me/4lciA35.mp4 - as you can see there is no difference. With ajax request the score is better but this is a small measurement error, you can ignore it
Hello
I've already checked this - https://share.pluginus.net/image/i20240718101352.png
I made a performance test in 2 modes (with and without ajax request) - https://c2n.me/4lciA35.mp4 - as you can see there is no difference. With ajax request the score is better but this is a small measurement error, you can ignore it