renatomarinho / laravel-page-speed

Package to optimize your site automatically which results in a 35%+ optimization
MIT License
2.4k stars 275 forks source link

check for skipped request parameters #153

Open dkiptugen opened 3 years ago

dkiptugen commented 3 years ago

Description

Check for skipped parameter request

Motivation and context

I had a challenge on Google AMP pages when parameter defer is added to scripts, which results to AMP error. I tried to add parameters on skip like '?amp=1','?amp=1','?amp' where neither would work.

How has this been tested?

I have tested on a news site https://www.standardmedia.co.ke/entertainment/fashion-and-style/2001409537/best-dressed-at-the-bafta-awards-2021 where when parameter amp is set it escapes laravel pagespeed.