Support » Plugin: Flying Images by WP Speed Matters » Compatibility with caching plugins

  • Resolved aidanashby


    What is this plugin’s compatibility with caching plugins like? Most caching plugins won’t serve different versions of pages depending on the browser, so does Nazy insert its stuff independent of the caching? Or if a caching plugin attempts to deliver a cached page that includes loading=”lazy” to the Edge browser, will Nazy remove it and insert instead JS lazy loading before delivery?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gijo Varghese


    @aidanashby Flying Images (renamed from “Nazy Load”) checks browser support and do necessary using a JS code. This JS code shipped no matter what browser is using.

    So to answer your question, this is compatible with any caching plugins. You don’t need to enable separate caching based on browser.

    @gijo thank you, for the very nice plugin.

    Seems that is not compatible with W3TC Page Caching function, I still see my original src entries without rewriting to Statically, and srcset includes.

    However, If create custom Extension for W3TC with something like that

    add_action('template_redirect', function() {
        add_action('shutdown', function () {
        }, PHP_INT_MAX);
        ob_start(function ($content) {
            return flying_images_rewrite_html($content);
    }, 0);

    with disabling call flying_images_rewrite_html from plugin all would works.

    Please, provide integration with W3TC, or just create hooks with possibility disable flying_images_rewrite_html from plugin and call in another place.

    Also, do you have github for pull requests and contributing?

    Thank you.

    Plugin Author Gijo Varghese


    @artemzherdev I just uploaded it to GitHub. Please create a PR

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.