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

Redis cache issue with CSS/JS assets generated by Spectra plugin #66

Open
danmaby opened this issue Apr 21, 2023 · 0 comments
Open

Redis cache issue with CSS/JS assets generated by Spectra plugin #66

danmaby opened this issue Apr 21, 2023 · 0 comments

Comments

@danmaby
Copy link

danmaby commented Apr 21, 2023

Hey team, I see an issue with CSS and JS files generated by the Spectra plugin. The plugin has an option in its "Asset Generation" setting to generate external CSS/JS files rather than generating inline. Turning this setting on produces the following URLs for assets:

/wp-content/uploads/uag-plugin/assets/5000/uag-css-XXXXXX-XXXXXX.css

When Redis cache is enabled on the server and the above setting is turned on, CSS/JS assets are not loaded.

To reproduce:

  1. Enable File Generation in Spectra "Asset Generation" setting
  2. Click Asset Regeneration in Spectra "Asset Generation" setting
  3. Purge all SpinupWP cache
  4. View a page with a Spectra block in incognito/private - broken CSS/JS

To temporarily overcome this, I have disabled Redis Caching on the server

define( 'WP_REDIS_DISABLED', true );

It appears to be simial to this issue that was generated by Elementor.

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

No branches or pull requests

1 participant