• Resolved trilochan20

    (@trilochan20)


    Hello , I generated cache using your plugin My Page Speed score went from 50-55 to 75-85. I was very happy. Then I noticed a peculiar thing. I’ve ampForWp plugin installed where I’ve amp-redirect set up in mobile deveices. But the after generating the cache amp redirect is not working in mobile pages. After I purge the cache I am able to see the redirected amp pages. And also I’ve mailer lite plugin installed for mail subscription purpose and I’ve setup their sign up form in side and footer. But they won’t appear in cached pages. I asked them about this they said to exclude there domain from cached plugin. I couldn’t find any option regarding that.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Regarding the mobile devices, have you tried enabling “Generate separate files for mobile devices” in the cache settings?

    I’m not familiar with mailer lite. How are the signup forms setup? Is it a shortcode, or a widget?

    Thread Starter trilochan20

    (@trilochan20)

    Yeah, I’ve enabled the “Generate Separate files for mobile devices” option.
    But after the caches are generated the mobile redirect won’t work at all.

    MailerLite SignUp form is a widget created using custom html codes.

    <div class="ml-form-embed"
      data-account="1335542:b7t3q2x5x7"
      data-form="1187190:o8i1b2">
    </div>

    Thank you.
    I don’t see why MailerLite SignUp form wouldn’t work though.
    I’ll look into this.

    Thread Starter trilochan20

    (@trilochan20)

    MailerLite people told me

    “Ok, I got some news.
    Yes, it happens because of your cache optimizers. You have to options:

    Exclude our domain *mailerlite.com
    Insert form via html code”
    How to add exclude domain ?

    WP-Optimize only caches the content generated by WP, no external domain, so Exclude our domain *mailerlite.com wouldn’t make sense there. On the other hand, Autoptimize might do that.

    Thread Starter trilochan20

    (@trilochan20)

    There is an option in Autoptimize Exclude scripts from Autoptimize:
    And I added *mailerlite.com/. Is this how it’s done ?

    • This reply was modified 5 years, 3 months ago by trilochan20.

    no star, just mailerlite.com/ ??

    frank (ao dev)

    Thread Starter trilochan20

    (@trilochan20)

    @optimizingmatters Thank you Frank. ??

    @trilochan20

    I’ve installed mailerlite on my website, and used the shortcode to add a form, and it shows properly even when cache is enabled.

    One of the javascript files doesn’t seem to load properly, but this is a 404 error on mailerlite.com side.

    I will also test the AMP plugin.

    So I tested the AMP redirection on and it also works well for me.
    Are you still having issues?

    Thread Starter trilochan20

    (@trilochan20)

    @marcusig Yeah. The issue is gone after I’ve deleted the previous cache and reinstalled autoptimize. Thanks for the help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Generating cache disbales AMP redirect for mobile & some plugins won’t work.’ is closed to new replies.