proudcity / wp-proudcity

The ProudCity WordPress platform
https://proudcity.com
Other
21 stars 9 forks source link

CSS not loading sometimes #2487

Closed curtismchale closed 4 months ago

curtismchale commented 4 months ago

Source

Describe the bug

Sometimes the CSS doesn't load. It appears this is because in a multi-pod environment the cached CSS file isn't present on all pods and thus sometimes it doesn't load the cached CSS. See WP Rocket load balance docs, which is essentially what multi-pod environments are.

We can define a custom cache location which we could put in wp-stateless and then serve the cached version out of stateless all the time which would be available to all pods in a network.

Others have reported a similar problem

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Add any other context about the problem here.

QA

Notes:

Links:

*

curtismchale commented 4 months ago

@kevindherman Check in with the customer now as this may be solved since WP Rocket no longer wants to concatenate all the CSS/JS thus it shouldn't be present only on a single pod in the cache folder.

kevindherman commented 4 months ago

@curtismchale the customer is Franklin and part of https://github.com/proudcity/pc-dev-issues/issues/1

Did they get the update?

curtismchale commented 4 months ago

@kevindherman yes they have had the update since late last week when I manually pushed the update.

kevindherman commented 4 months ago

Cool.

I'll followup.

kevindherman commented 4 months ago

@curtismchale I think we can close this until reports come back of it being broken.