Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Ignore script in the AMP validator

$
0
0

Replies: 1

I use a plugin that inserts a javascript to insert parameters in urls to prevent pages from being cached. It is a solution for Cloudflare to cache everything.

It works only when the user is logged in. Therefore, it has no problems with the operation of the AMP.

However, some customers go there and remove the script to make everything green and error free.

This disrupts the functioning of the page cache.

So, is there a filter for the AMP plugin validator to ignore this javascript?


Viewing all articles
Browse latest Browse all 59525

Trending Articles