Fetch failed for resource url pagespeed.jo

623 views
Skip to first unread message

Adrian Petre

unread,
Sep 12, 2014, 8:34:22 PM9/12/14
to mod-pagesp...@googlegroups.com
I sometimes (usually at firt access) I see these log lines:

[Sat Sep 13 03:32:36 2014] [warn] [mod_pagespeed 1.7.0.0-4202 @4780] [0913/033236:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://nsa310/pkg/photos/_.pagespeed.jo.wrxc1Q6vh-.js?_=1410568037609
[Sat Sep 13 03:32:36 2014] [warn] [mod_pagespeed 1.7.0.0-4202 @4780] Fetch failed for http://nsa310/pkg/photos/_.pagespeed.jo.wrxc1Q6vh-.js?_=1410568037609, status=404
[Sat Sep 13 03:32:36 2014] [warn] [mod_pagespeed 1.7.0.0-4202 @4780] http://nsa310/pkg/photos/_.pagespeed.jo.wrxc1Q6vh-.js?_=1410568037609 resource_404_count: not found (404)
[Sat Sep 13 03:32:37 2014] [warn] [mod_pagespeed 1.7.0.0-4202 @4721] [0913/033237:WARNING:resource_fetch.cc(197)] Fetch failed for resource url http://nsa310/pkg/photos/_.pagespeed.jo.lU32M_elaF.js?_=1410568037610
[Sat Sep 13 03:32:37 2014] [warn] [mod_pagespeed 1.7.0.0-4202 @4721] Fetch failed for http://nsa310/pkg/photos/_.pagespeed.jo.lU32M_elaF.js?_=1410568037610, status=404

What is trying pagespeed to do ?

Joshua Marantz

unread,
Sep 12, 2014, 10:30:26 PM9/12/14
to mod-pagespeed-discuss
This is related to the outline_javascript filter, which is dependent on the cache being reliable and unlikely to evict anything added in the past few seconds.

In this filter, it will take large blocks of inline javascript and turn it into an external resource, writing the inline block as a cache entry.  When the javascript file is fetched by a browser, if it's not in the cache there's no way to reconstruct it.  This filter can only be used in single-server setups or when using memcached (assuming memcached is large enough that it's unlikely to evict anything quicky).

The message you are seeing is consistent with a multi-server setup, or if your cache implementation not being fully reliable or large enough to hold onto an entry long enough to accommodate the round-trip time from a browser.  Simply turning off outline_javascript (and outline_css if you have it) will make these messages go away.

-Josh

-Josh
-Josh

--
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/d3e0dd9e-8582-4dc3-9c7a-5d8b152c5962%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages