Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Images doesn't load in mobile #1249

Open
giggioman00 opened this issue Jan 21, 2016 · 4 comments
Open

Images doesn't load in mobile #1249

giggioman00 opened this issue Jan 21, 2016 · 4 comments

Comments

@giggioman00
Copy link

In my mobile phone, images of my site dossn't load when processed through PagSpeed.
Probably due to the cahnge of URL.
I would like to disable option for the URL change in mobile device. But I still would like to let pagespeed process images on my site.
Is it possible?

@jmarantz
Copy link
Contributor

Why do you think changing URLs is causing images not to display on your
mobile device? Which mobile browser & device are you testing with? We
know of a problem (fixed a year ago in 1.9) where mobile Windows browsers
were masquerading as Chrome, inducing us to send webp. We have also heard
of a similar problem in mobile Firefox
#1160, which sent a UA
making us think it was the Android Browser, which is fixed in 1.10.

Having said that, the answer to your specific question is to turn on
OptimizeForBandwidth
https://developers.google.com/speed/pagespeed/module/optimize-for-bandwidth.
That will turn off PageSpeed's URL rewriting (disabling some
latency-improving features) but it will not necessarily turn off webp
transcoding.

On Thu, Jan 21, 2016 at 6:40 AM, giggioman00 notifications@github.com
wrote:

In my mobile phone, images of my site dossn't load when processed through
PagSpeed
Probably due to the cahnge of URL
I would like to disable option for the URL change in mobile device But I
still would like to let pagespeed process images on my site
Is it possible?


Reply to this email directly or view it on GitHub
#1249.

@giggioman00
Copy link
Author

Because sadly my site have duplicate content.
My site can be opened at: http://example.com
but also at: http://www.example.com

The not to-www version doesn't use pagespeed. The URL of images are not changed by Pagespeed. And images are loaded correctly in this version of the site.
In www-version, pagespeed change the url of the images. And images are not loaded in this version of the site.

I'm testing using Android and Firefox.

@jmarantz
Copy link
Contributor

Right; so this is Issue 1160
#1160 which was fixed in
1.10, which is still in Beta. Please upgrade to that release to resolve
this problem.

Thanks,
-Josh

On Thu, Jan 21, 2016 at 9:05 AM, giggioman00 notifications@github.com
wrote:

Because sadly my site have duplicate content.
My site can be opened at: http://example.com
but also at: http://www.example.com

The not to-www version doesn't use pagespeed. The URL of images are not
changed by Pagespeed. And images are loaded correctly in this version of
the site.
In www-versione, pagespeed change the url of the images. And images are
not loaded in this version of the site.

I'm testing using Android and Firefox.


Reply to this email directly or view it on GitHub
#1249 (comment)
.

@giggioman00
Copy link
Author

Ok thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants