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

Add compatibility mode option for caching plugins #48

Open
davisshaver opened this issue Feb 11, 2023 · 0 comments
Open

Add compatibility mode option for caching plugins #48

davisshaver opened this issue Feb 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@davisshaver
Copy link
Owner

Inspired by feedback on the WordPress.org forum – do we want to add a compatibility mode for caching plugins?

Here is the user tip:

Autoptimize, WP Fastest Cache and WP Rocket really effects the functions of the plugin.

You can use them but the images for the wallets and the triggers no longer work if you minify anything. So avoid these, or alternatively customise the plugin so it’s excluded from cache/minification.

I tried with Autoptimize but there was absolutely no way of if being active and the Rainbow wallet popup working properly. I tried many custom codes.

This particular user was using a plugin called Reusable Blocks Extended which allows a block to be mapped to a shortcode.

Because RainbowKit Login relies on register_block_type() for enqueuing the required CSS & JS assets, there could be issues with the shortcode workaround – essentially the block code might get evaluated too late for the assets to be enqueued. So maybe we want to add a compatibility mode option for caching plugins where the CSS & JS gets added to every page.

@davisshaver davisshaver added the enhancement New feature or request label Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant