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

eticha created an issue. See original summary.

NickDickinsonWilde’s picture

Status: Active » Needs work

ah 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.

eticha’s picture

The fix we made was to based on the server IP. But we had to hack getCacheId() in core module ;-(

NickDickinsonWilde’s picture

Ah 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.

eticha’s picture

Sent by mail

mikeytown2’s picture

Status: Needs work » Active

Any update on this issue? What type of cache is being used? Wouldn't 404 handling take care of missing files?

NickDickinsonWilde’s picture

Status: Active » Closed (outdated)

Actually, creating the aggregates is being handled by core in 8.x-3.x so this now a core bug or non-existent.