--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
modpag...@googlecode.com
unread,
Mar 19, 2015, 12:57:29 PM3/19/15
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
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
There are going to be some races depending on whether the preload scanner
runs at all. If we're never blocked on js, for example, I think it might
not run. So here's a new test that does some js busywaiting before listing
any psa/js scripts: http://www.jefftk.com/type-psa-js2?PageSpeed=off
modpag...@googlecode.com
unread,
Mar 19, 2015, 1:57:21 PM3/19/15
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
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
From the discussion on 329531 it sounds like the preload scanner may or may
not initiate fetches for scripts with unknown types, but this is actually
ok. Really we just don't want duplicate loads, and the only one of those
I've been able to reproduce was that Safari run.
modpag...@googlecode.com
unread,
Mar 19, 2015, 2:05:22 PM3/19/15
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
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
My guess is that the preload scanner initiates a fetch, and then defer_js
initiates a fetch, and Chrome's not properly figuring out that there's
already an active fetch for that resource.
One difference between the two requests is that the first one has its
Accept header set to "*/*" while the second has "image/webp,*/*;q=0.8".
Actually, I just realized that the devtools response shown in #13 indicates
three loads of rewrite_javascript.js. It's possible that I'm getting bad
results from reloading with Shift+Ctrl+R.
modpag...@googlecode.com
unread,
Mar 19, 2015, 5:52:08 PM3/19/15
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
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
Yes, after clearing cache we still see three entries in devtools but the
second two are from cache. This kind of makes sense: I see why we would
get one for the preload scanner and then one when we change the type, but I
don't see why we would get a third one.