I would like pagespeed to remain on but would like to disallow people from adding pagespeed query parameters to get different results of the site. Or, only allow it for a specific IP address (i.e., my own)
Is this possible through pagespeed or should I use my nginx's configuration to match .PageSpeed. ?
For now I'm using this workaround:
if ($args ~ (.*)PageSpeed[^=]*=[^&]*(.*)) {
set $args $1$2;
}
I would like pagespeed to remain
onbut would like to disallow people from adding pagespeed query parameters to get different results of the site. Or, only allow it for a specific IP address (i.e., my own)Is this possible through pagespeed or should I use my nginx's configuration to match .PageSpeed. ?
For now I'm using this workaround: