Pagespeed and non-pagespeed versions of identical file served on page

40 views
Skip to first unread message

Amin Sabet

unread,
Nov 1, 2015, 7:52:09 AM11/1/15
to mod-pagespeed-discuss
From: https://gtmetrix.com/reports/www.mu-43.com/K5VWnaa7


The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 3.8KiB.

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 97B.


How can I avoid this?

I am using KeyCDN as a CDN.  My origin and mapping settings are below:

ModPagespeedDomain https://www.mu-43.com
ModPagespeedDomain https://www.talkemount.com
ModPagespeedDomain https://www.fujixspot.com
ModPagespeedDomain https://www.leicaplace.com
ModPagespeedDomain https://www.foreverfilm.org

ModPagespeedDomain https://mu43-236e.kxcdn.com

ModPagespeedMapOriginDomain "http://localhost" "https://www.mu-43.com"
ModPagespeedMapOriginDomain "http://localhost" "https://www.talkemount.com"
ModPagespeedMapOriginDomain "http://localhost" "https://www.fujixspot.com"
ModPagespeedMapOriginDomain "http://localhost" "https://www.leicaplace.com"
ModPagespeedMapOriginDomain "http://localhost" "https://www.foreverfilm.org"

ModPagespeedMapOriginDomain "http://localhost" "https://mu43-236e.kxcdn.com"
ModPagespeedMapOriginDomain "http://localhost" "https://talkemount-236e.kxcdn.com"
ModPagespeedMapOriginDomain "http://localhost" "https://fujixspot-236e.kxcdn.com"
ModPagespeedMapOriginDomain "http://localhost" "https://leicaplace-236e.kxcdn.com"

ModPagespeedLoadFromFile "https://www.mu-43.com/data/" "/home/asabet/public_html/mu-43.com/data/"
ModPagespeedLoadFromFile "https://www.mu-43.com/js/" "/home/asabet/public_html/mu-43.com/js/"
ModPagespeedLoadFromFile "https://www.mu-43.com/styles/default/" "/home/asabet/public_html/mu-43.com/styles/default/"
ModPagespeedLoadFromFile "https://www.talkemount.com/data/" "/home/asabet/public_html/talkemount.com/data/"
ModPagespeedLoadFromFile "https://www.talkemount.com/js/" "/home/asabet/public_html/talkemount.com/js/"
ModPagespeedLoadFromFile "https://www.talkemount.com/styles/default/" "/home/asabet/public_html/talkemount.com/styles/default/"
ModPagespeedLoadFromFile "https://www.fujixspot.com/data/" "/home/asabet/public_html/fujixspot.com/data/"
ModPagespeedLoadFromFile "https://www.fujixspot.com/js/" "/home/asabet/public_html/fujixspot.com/js/"
ModPagespeedLoadFromFile "https://www.fujixspot.com/styles/default/" "/home/asabet/public_html/fujixspot.com/styles/default/"
ModPagespeedLoadFromFile "https://www.leicaplace.com/data/" "/home/asabet/public_html/leicaplace.com/data/"
ModPagespeedLoadFromFile "https://www.leicaplace.com/js/" "/home/asabet/public_html/leicaplace.com/js/"
ModPagespeedLoadFromFile "https://www.leicaplace.com/styles/default/" "/home/asabet/public_html/leicaplace.com/styles/default/"
ModPagespeedLoadFromFile "https://www.photographerslounge.org/data/" "/home/asabet/public_html/photographerslounge.org/data/"
ModPagespeedLoadFromFile "https://www.photographerslounge.org/js/" "/home/asabet/public_html/photographerslounge.org/js/"
ModPagespeedLoadFromFile "https://www.foreverfilm.org/data/" "/home/asabet/public_html/foreverfilm.org/data/"
ModPagespeedLoadFromFile "https://www.foreverfilm.org/js/" "/home/asabet/public_html/foreverfilm.org/js/"
ModPagespeedLoadFromFile "https://www.foreverfilm.org/styles/default/" "/home/asabet/public_html/foreverfilm.org/styles/default/"

ModPagespeedLoadFromFile "https://mu43-236e.kxcdn.com/data/" "/home/asabet/public_html/mu-43.com/data/"
ModPagespeedLoadFromFile "https://mu43-236e.kxcdn.com/js/" "/home/asabet/public_html/mu-43.com/js/"
ModPagespeedLoadFromFile "https://mu43-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/mu-43.com/styles/default/"
ModPagespeedLoadFromFile "https://talkemount-236e.kxcdn.com/data/" "/home/asabet/public_html/talkemount.com/data/"
ModPagespeedLoadFromFile "https://talkemount-236e.kxcdn.com/js/" "/home/asabet/public_html/talkemount.com/js/"
ModPagespeedLoadFromFile "https://talkemount-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/talkemount.com/styles/default/"
ModPagespeedLoadFromFile "https://fujixspot-236e.kxcdn.com/data/" "/home/asabet/public_html/fujixspot.com/data/"
ModPagespeedLoadFromFile "https://fujixspot-236e.kxcdn.com/js/" "/home/asabet/public_html/fujixspot.com/js/"
ModPagespeedLoadFromFile "https://fujixspot-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/fujixspot.com/styles/default/"
ModPagespeedLoadFromFile "https://leicaplace-236e.kxcdn.com/data/" "/home/asabet/public_html/leicaplace.com/data/"
ModPagespeedLoadFromFile "https://leicaplace-236e.kxcdn.com/js/" "/home/asabet/public_html/leicaplace.com/js/"
ModPagespeedLoadFromFile "https://leicaplace-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/leicaplace.com/styles/default/"
ModPagespeedLoadFromFile "https://photolounge-236e.kxcdn.com/data/" "/home/asabet/public_html/photographerslounge.org/data/"
ModPagespeedLoadFromFile "https://photolounge-236e.kxcdn.com/js/" "/home/asabet/public_html/photographerslounge.org/js/"
ModPagespeedLoadFromFile "https://foreverfilm-236e.kxcdn.com/data/" "/home/asabet/public_html/foreverfilm.org/data/"
ModPagespeedLoadFromFile "https://foreverfilm-236e.kxcdn.com/js/" "/home/asabet/public_html/foreverfilm.org/js/"
ModPagespeedLoadFromFile "https://foreverfilm-236e.kxcdn.com/styles/default/" "/home/asabet/public_html/foreverfilm.org/styles/default/"


Jeff Kaufman

unread,
Nov 1, 2015, 1:32:55 PM11/1/15
to mod-pagespeed-discuss
Hmm. When I run a WebPageTest now I only see the .pagespeed. version
of those two sprites:
http://www.webpagetest.org/result/151101_V2_NN3/1/details/

According to your archived run, and looking at the first sprite, when
it was served under two urls the .pagespeed. version was referenced
from:

https://mu43-236e.kxcdn.com/data/bdCache/css/1446381992/25d53b85eac4834cbb469aed379d16a8.css

and the non-pagespeed version was referenced from

https://www.mu-43.com/css.php?css=cta_featuredthreads,facebook,login_bar,nat_public_css,node_category,node_forum,node_list,notices,twitter,xengallery_tab_links&style=1&dir=LTR&d=1446381992.

The latter currently is a 301 redirect to
https://mu43-236e.kxcdn.com/data/bdCache/css/1446381992/251ec3283914074abfa397d318790d66.css,
and now has the .pagespeed. urls in it.

So my guess is PageSpeed just hadn't finished optimizing yet. It's good now.
> --
> 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/81c4a11d-0eff-4a0e-aa6a-1ec91c5d84e2%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Amin Sabet

unread,
Nov 1, 2015, 2:12:09 PM11/1/15
to mod-pagespeed-discuss
Thanks, Jeff.  Did I correctly do the ModPagespeedLoadFromFile settings for the pull CDN here?

Jeff Kaufman

unread,
Nov 2, 2015, 8:35:25 AM11/2/15
to mod-pagespeed-discuss
The settings look reasonable, yes. Though I could easily have missed
something. Let me know if you see something acting funny and I can
look more?
> --
> 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/4487d0ff-b4ef-45e7-8020-4f26871a038e%40googlegroups.com.

Amin Sabet

unread,
Nov 2, 2015, 3:23:48 PM11/2/15
to mod-pagespeed-discuss
Thank you very much.
Reply all
Reply to author
Forward
0 new messages