• javierllinas

    (@javierllinas)


    Hello,

    Has anyone been able to add AMP to ignore list? I don’t want to cache those pages, but no regex is being accepted:

    ^.*\?amp$
    */\?amp
    \?amp
    *amp

    AMP pages are generated like so:
    https://mydomain.com/slug/?amp

    Appreciate any guidance.
    Best,
    J

Viewing 2 replies - 1 through 2 (of 2 total)
  • lindizzle82

    (@lindizzle82)

    Hey there, J – did you get this worked out? My amp pages tanked last week because of this and I had to just disable the CSS caching!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    “Hello, First of all, sorry for the late response and the issue you are having
    Is AMP extension activated? Try going to Page cache >Advanced >Reject User Agents, and enter those User Agents.
    iPhone
    Android
    iPad
    You can also add directories or subpages to the list.
    Please make sure to update W3TC to the latest version as a lot of fixes have been applied.
    If the issue is resolved after the update, please give us a feedback and we can close this topic.

    Best Regards,

    Marko”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Don’t cache AMP (?amp) pages’ is closed to new replies.