• Resolved lofesa

    (@lofesa)


    Hi @samperrow
    I′m using now the AMP plugin from Automattic, and use Pre*Party plugin sending headers. I have modified the plugin to no send header if is_amp_endpoint() cause files i preload are not needed in the amp version.
    Perhaps is better to thing in add a db field for assets that can be preloaded in amp and when is_amp_endpoint() is present only select that assest?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sam Perrow

    (@samperrow)

    Great suggestion. I’d love to see the exact code you used for this, and if you want you can create a PR on the github repo.

    I am working on a complete overhaul of the plugin to add lots of great new functionality, and that’s definitely something that should be considered.

    Thread Starter lofesa

    (@lofesa)

    HI @samperrow
    PR created. That is valid until you refactored the plugin and perhaps consider to make separate assest for amp/non-amp pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pre-Party and amp pages’ is closed to new replies.