Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS not loading sometimes #2487

Closed
curtismchale opened this issue Feb 20, 2024 · 5 comments
Closed

CSS not loading sometimes #2487

curtismchale opened this issue Feb 20, 2024 · 5 comments
Assignees

Comments

@curtismchale
Copy link
Contributor

curtismchale commented Feb 20, 2024

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

QA

Notes:

Links:

@curtismchale
Copy link
Contributor Author

@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
Copy link

kevindherman commented Mar 6, 2024

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

Did they get the update?

@curtismchale
Copy link
Contributor Author

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

@kevindherman
Copy link

Cool.

I'll followup.

@kevindherman
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants