Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image file size is incorrect? #226

Closed
stefano-bortolotti opened this issue Jan 29, 2014 · 1 comment
Closed

Image file size is incorrect? #226

stefano-bortolotti opened this issue Jan 29, 2014 · 1 comment

Comments

@stefano-bortolotti
Copy link

This image
http://premobile-eu.usablenet.com/img/c/gw_320/ttl_1h/format_jpg/1url_content.asos-media.com/~/media/290114120625/Images/uk/wc_27_january/3_WEDNESDAY_29/ASHLEY/asos.jpg

is ~7.8 kB

from the log phantomas reports 4.12 kB

Can you please investigate why I get wrong file size?
thanks

The below is the config file I used:

{
    "url": "http://premobile-eu.usablenet.com/mt/www.asos.com/Women/",
    "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25",
    "viewport": "320x420",
    "verbose": true,
    "log": "log/masos-premobile.log",
    "block-domain": "s.btstatic.com,s.thebrighttag.com,statse.webtrendslive.com",
    "asserts": {
        "requests": 46,
        "redirects": 0,
        "domains": 5,
        "maxRequestsPerDomain": 40,
        "assetsNotGzipped": 5,
        "biggestResponse": 60000, 
        "imageSize": 30000,
        "htmlSize": 67000,
        "htmlCount": 1,
        "cssSize": 0,
        "webfontCount": 2, 
        "webfontSize": 95000,
        "base64Count": 1,
        "iframesCount": 0,
        "nodesWithInlineCSS": 30,
        "DOMqueriesDuplicated": 20, 
        "imageCount": 33, 
        "jsCount": 9, 
        "jsErrors": 1,
        "windowAlerts": 0,
        "commentsSize": 0,
        "documentWriteCalls": 0
    }
}
@macbre
Copy link
Owner

macbre commented Jan 29, 2014

A duplicate of #137

Unfortunately, this is an issue on PhantomJS side. Hopefully, v2.0 (that will use Chromium as a core instead of WebKit) will have that issue solved.

@macbre macbre closed this as completed Jan 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants