Ajax Loading (page caching compatibility)

The Ajax loading option allows you to use dynamic content while continuing to enjoy the advantages of caching. With the Ajax option enabled, dynamic triggers will be rendered in a separate request that will happen after the loading of the cached version.

Enabling Ajax loading is possible for all triggers together or for only one specific trigger

There are two options to enable Ajax loading. Via the plugin settings for all trigger together or by adding a parameter to the shortcode of a specific trigger.

Enable Ajax loading for all the triggers

On your WordPress Dashboard, go to If-So > Settings and check the “Render triggers via Ajax” checkbox.

Please note! If you have an If-So shortcode pasted inside another If-So trigger, and you set If-So to load triggers with Ajax, you need to make sure the nested shortcode is not loading with Ajax. In order to do so, simply add the parameter ajax=”no” to the nested shortcode.

Enable Ajax for specific trigger only

To make a specific trigger load with Ajax you can add the parameter ajax=”yes” to the trigger shortcode:

[ifso id="123" ajax="yes"]

Will Ajax Loading Mode Cause the Dynamic Content to Be Displayed in Delay

When Ajax Loading is enabled, the static content of the page is served from the cache, and the dynamic content is rendered moments after. Naturally, there will be a delay between the loading time of the two. The length of the delay depends on numerous factors, like the way your site is built, your server, the amount of the dynamic content, and so on.

Ready to get started?
Try it on your website
kolaybet betgaranti giriş Fick Geschichten