This repository was archived by the owner on Apr 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
How to disable pagespeed query parameters? #2101
Open
Description
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ドル;
}
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.