Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

incomplete javascript downloading #371

@jeffkaufman

Description

@jeffkaufman

I've prepared a CentOS 5 VM running 1.5.27.3-rc1 as part of preparing the next release. When I run the system tests I get:

TEST: Fetch the deferJs url with hash.
run_wget_with_args js_defer_debug.fxi6kLpaRF.js
wget -H -p -S -o /tmp/mod_pagespeed_test.jefftk/fetched_directory/wget_output.txt -nd -P /tmp/mod_pagespeed_test.jefftk/fetched_directory -e robots=off --header=ModPagespeedFilters:defer_javascript,debug http://localhost:8050/ngx_pagespeed_static/js_defer_debug.fxi6kLpaRF.js
[hangs]

This is with wget 1.14 (CentOS ships with 1.11, which is too old for the test.)

Looking in /tmp/mod_pagespeed_test.jefftk/fetched_directory/ I see both js_defer_debug.fxi6kLpaRF.js and js_defer_debug.fxi6kLpaRF.js.1. Which makes sense: wget downloads a page that references js_defer_debug... recursively giving us the first one, and the hang is when it's getting the second one. But the second one doesn't download completely. It's 48902 bytes instead of 53109.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions