Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I use nginx with 3 servers (1 BE and 2 FE) with load balacing between the 2 FE servers.
if i clear the cache and access the FE server 1 => Js / Css files are created on server 1
then if access to server 2 => css / js files are not created on this server so that i got a 404.
Drupal doesn't know that files are missing.
Do you have any solutions to solve this ?
Thanks for your help
Comments
Comment #2
NickDickinsonWildeah right... makes sense.
Guess I'll have to do some load balancing learning and testing, I'll try to get that fixed for next release.
Comment #3
eticha CreditAttribution: eticha commentedThe fix we made was to based on the server IP. But we had to hack getCacheId() in core module ;-(
Comment #4
NickDickinsonWildeAh if you have a working fix could you share it? (if private you could email to nick@briarmoon.ca); even if it is mucking with core, would give me a starting point.
Comment #5
eticha CreditAttribution: eticha commentedSent by mail
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commentedAny update on this issue? What type of cache is being used? Wouldn't 404 handling take care of missing files?
Comment #7
NickDickinsonWildeActually, creating the aggregates is being handled by core in 8.x-3.x so this now a core bug or non-existent.