It might be a naive question given the details you provided but is the blocking happening from the server side? I mean it’s not client side JavaScript blocking right? I’m asking to ensure security of users data. Thanks
Q: I suppose "static conditions" (taxonomy terms, custom fields, etc.)
should work with page caching. But "dynamic conditions" (user agent, referrer, geolocation, etc.) probably won't work with caching. User-based conditions obviously can't work with caching... Is my understanding correct? Or maybe some "dynamic conditions" can work with caching, with some tricks?
A: Yes, you are correct - "Static conditions" (conditions which always result in the same output) will work fine with caching plugins.
Page cache is created after the conditions have run, and the final page content has loaded.
If you are creating "dynamic conditions" (where content is always changing, or specific to users) then you should consider possibly opt-ing out of page cache for the...
But why do you even need it for Bricks? Bricks has its own conditionals that work great, and their conditions can be extended with third-party addons. Gutenbricks is, of course, a different matter.
Q: Just to understand
It might be a naive question given the details you provided but is the blocking happening from the server side? I mean it’s not client side JavaScript blocking right? I’m asking to ensure security of users data.
Thanks
Morgan_ConditionalBlocksPro
Aug 28, 2024A: Hi Zaj,
Yes, conditional content will be removed server side. The content will never appear in the browser (HTML or JavaScript) 😊
The only exception is the Responsive Screen conditions. The reason is so the responsive content works when resizing the browser window.
Share Conditional Blocks Pro
I’d love to know this too.
And if it’s server side how does it work with caching like WP Rocket, Cloudflare APO, Varnish etc
Hi! I've replied above ☝️
I have documentation dedicated to tips with caching
https://conditionalblocks.com/docs/getting-started/caching/
Q: Does it work with GB(Generateblocks)?
Morgan_ConditionalBlocksPro
Aug 26, 2024A: Hi 👋
Yes absolutely, I've talked to several people who use Generateblocks & Elements with Conditional Blocks Pro.
Share Conditional Blocks Pro
Q: I suppose "static conditions" (taxonomy terms, custom fields, etc.)
should work with page caching. But "dynamic conditions" (user agent, referrer, geolocation, etc.) probably won't work with caching. User-based conditions obviously can't work with caching...
Is my understanding correct? Or maybe some "dynamic conditions" can work with caching, with some tricks?
Morgan_ConditionalBlocksPro
Aug 23, 2024A: Yes, you are correct - "Static conditions" (conditions which always result in the same output) will work fine with caching plugins.
Page cache is created after the conditions have run, and the final page content has loaded.
If you are creating "dynamic conditions" (where content is always changing, or specific to users) then you should consider possibly opt-ing out of page cache for the...
Share Conditional Blocks Pro
Q: Is there a way to hide/display content based on a user's location (City)?
Morgan_ConditionalBlocksPro
Aug 20, 2024A: I've moved the Geolocation feature request into the planning stage. I'll make sure to consider a solution to include City locations as well 🌏
You can read more here:
https://conditionalblocks.com/feature-requests/standalone-geolocation-needs-feedback
Share Conditional Blocks Pro
Q: I understand that this works only with Gutenberg Blocks, but is there a possibility of support for Bricks Builder?
If Bricks Builder is not natively supported, could you please explore compatibility with Gutenbricks?
Thanks!
Morgan_ConditionalBlocksPro
Aug 20, 2024A: Hi Jagan, I've just sent a message to the Gutenbricks founder 😊 This could be a faster solution for Brick users.
I'll update the documentation with recommend plugins when I've run the tests.
Share Conditional Blocks Pro
Bricks Builder would be a huge plus
Good news, I've talked to Ryan from Gutenbricks and tested the plugin.
Conditional Blocks Pro is compatible with Gutenbricks!
Verified purchaser
But why do you even need it for Bricks? Bricks has its own conditionals that work great, and their conditions can be extended with third-party addons. Gutenbricks is, of course, a different matter.