• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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