• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Ajax request block the navigation only on plesk

ANTOINE1517

New Pleskian
Hello,

I have a web platform.
With exactly the same code, the comportment is different between classic provider and Plesk.

On one of my page, i have an ajax request ( ~15 secondes) to retrieve data from external API

=> On the other provider / from scratch or in localhost if you fall on the page with the big ajax request, u can continue to have a navigation on the other page. (u will just break the loadind of the ajax request)

=> On Plesk, if u fall on the page with the AJAX request, u will be blocked ... You need to wait the end of the ajax request to have the possibility to continue your navigation.
And On plesk your navigator will emit an alert "L’utilisation d’XMLHttpRequest de façon synchrone sur le fil d’exécution principal est obsolète à cause de son impact négatif sur la navigation de l’utilisateur final. Consulter XMLHttpRequest Standard pour plus d’informations." In english he said don't use the synchone, but asynchrone if you wont have negatives impacts. But I use the ASYNCHRONE MODE, and this mode work very well when its not Plesk, i'm lost.

Its very strange, do we have option or something to configure on Plesk for this ?
 
Plesk has no influence on your website content. The only thing that you might consider is whether the Nginx/Apache webserver combination plays a role in the behavior, but even that is unlikely, because hundreds of thousands ob websites hosted on Plesk are using AJAX methods.
 
Back
Top