Groups
Sign in
Groups
mod-pagespeed-discuss
Conversations
About
Send feedback
Help
rewrite_images doesn't work properly
53 views
Skip to first unread message
Marc Subira
unread,
Jan 8, 2016, 1:31:12 PM
1/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mod-pagespeed-discuss
Hi,
I've this page with rewrite_images activate but the images doesn't resize:
http://www.roadrunningreview.com/es/10-Ideas-Regalo-Running/a/100007.html?PageSpeed=on&PageSpeedFilters=rewrite_images,inline_images,resize_images,insert_image_dimensions
Anybody can help me?
Thanks for all,
Jeff Kaufman
unread,
Jan 8, 2016, 1:39:39 PM
1/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mod-pagespeed-discuss
Adding "debug" to the list of filters shows, among other things:
<!--The preceding resource was not rewritten because its domain
(
www.roadrunningreview.com
) is not authorized-->
<!--Fetch failure, preventing rewriting of
http://roadrunningreview.com/CKFinderJava/userfiles/images/Regalos-Running-2015/Mizuno_Wave_Ultima_7.jpg--
>
So I think what's happening is that something is rewriting your host
header so requests to
www.roadrunningreview.com
hit PageSpeed with a
host header of
roadrunningreview.com
. For absolute urls on
www.roadrunningreview.com
, PageSpeed refuses to rewrite things because
only
roadrunningreview.com
(the domain mentioned in the host header)
is authorized. For relative urls it tries to fetch from
roadrunningreview.com
, gets a redirect to
www.roadrunningreview.com
,
but doesn't follow redirects and so fails the fetch.
Is this host header weirdness a misconfiguration you can clear up?
Otherwise we can try to figure out the directives to fix this in
PageSpeed, that's just kind of messy.
> --
> 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/557397e3-121d-4c6b-bb4f-7118ce24ed3b%40googlegroups.com
.
> For more options, visit
https://groups.google.com/d/optout
.
Reply all
Reply to author
Forward
0 new messages