• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question CSS/JS not loading when multiple requests on server?

nkzexe

New Pleskian
TL/DR: here is a video who illustrate the problem:

Hello people,
Hope you are going well during this bad time.

I'm having a problem with our new server. Having migrated from Plesk 17 to Plesk 18 on a new server, we took advantage of this to switch to PHP8, NGINX, etc...

However, we have detected that when several requests arrive on the server, it does not "load" the css and js, although the source code is present and the Chrome console does not display any particular errors related to a possible cache. The page loading perfectly when we refresh the page manually.

This error may occur when user Y loads his first page and the server receives these numerous requests. On a site that could have about 20/30 new visitors at the same time, this is a problem for us.

We have tried with or without WordPress cache (WP Rocket), with or without NGINX cache (from Plesk), and disabled any IP bans that could have caused problems. We even tried to switch to Apache to see if it was NGINX but same problem. We didn't have this problem on the old server, so probably a bad manipulation/settings.

The site is compatible with the latest versions used (PHP8), both the theme and the extensions used.

Do you, friends, have something to explore? :)
Take care!

(Sorry for my english btw).
 
Back
Top