Disallow ModPagespeed=Off

13 views
Skip to first unread message

Eduardo Trujillo Sánchez

unread,
Feb 10, 2015, 1:18:36 PM2/10/15
to mod-pagesp...@googlegroups.com
Hello

I have a web in production which I want to disallow the param ModPagespeed=Off

Is that possible???? 


Thanks

Jeff Kaufman

unread,
Feb 10, 2015, 2:12:24 PM2/10/15
to mod-pagespeed-discuss
There is a feature that almost does what you want:
https://developers.google.com/speed/pagespeed/module/experiment#restrict-request-options

The problem is that ModPagespeed=noscript still needs to be supported,
so the ModPagespeed query param is passed through.

You could use apache rewriting rules to block requests with any of
"?ModPagespeed=", "&ModPagespeed=", "?PageSpeed=", or "&PageSpeed=" in
the url, though.
> --
> You received this message because you are subscribed to the Google Groups
> "mod-pagespeed-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mod-pagespeed-di...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mod-pagespeed-discuss/7d3aa13b-50d5-40db-b4e2-29ece7b56e3c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Eduardo Trujillo Sánchez

unread,
Feb 11, 2015, 5:15:58 AM2/11/15
to mod-pagesp...@googlegroups.com
Lot of Thanks

That really usefull




You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/vrame89713g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/CAMJ6YUth6SmX7vLMmBipOiWD6r0LKkjJg3R4hTm0LfixxWSPVQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages