facebookarchive / AsyncDisplayKit

Smooth asynchronous user interfaces for iOS apps.
http://asyncdisplaykit.org
Other
13.4k stars 2.2k forks source link

[AsyncDisplayKit.org] Optimize resources for website for improved SEO ranking. #1056

Closed ashishyadav311 closed 8 years ago

ashishyadav311 commented 8 years ago

because of this the page score has drastically decreased. http://www.whatsmyip.org/http-compression-test/?url=aHR0cHM6Ly9zdGF0aWMueHguZmJjZG4ubmV0L3JzcmMucGhwL3YyL3lWL3IvamNoWnZHdU5TcTQuanM=

appleguy commented 8 years ago

@ashishyadav311 very interesting suggestion, I really appreciate it! The link you provided is showing compressed, but are you saying a js file for AsyncDisplayKit.org is not compressed?

ashishyadav311 commented 8 years ago

Is it showing, Uncompressed Page Size: 317.1 KB Compressed Page Size: 86.1 KB Savings: 72.8%

ashishyadav311 commented 8 years ago

you can open this link(https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.proptiger.com%2Fguide%2Fpost%2Fwhats-hot-4-tips-to-give-your-kitchen-that-awesome-look&tab=desktop) how badly has this affected my page score.

appleguy commented 8 years ago

This is what I'm seeing. It seems to say that it is compressed - I think the numbers it is providing are indicating how much value the compression is providing (huge indeed!)

Do you think the .js is uncompressed, even though this is saying it is?

screen shot 2016-01-13 at 6 57 59 pm
ashishyadav311 commented 8 years ago

screen shot 2016-01-14 at 9 55 54 am

see on this page it is saying "Compressing https://static.xx.fbcdn.net/rsrc.php/v2/yL/r/WOcTjufR6MD.css could save 114.1KiB (88% reduction)"

can you explain this .

ashishyadav311 commented 8 years ago

to open this link (https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.proptiger.com%2Fguide%2Fpost%2Fwhats-hot-4-tips-to-give-your-kitchen-that-awesome-look&tab=desktop)

appleguy commented 8 years ago

@ashishyadav311 Thanks! That's much more actionable. The Google tool is showing that we could get some gains from optimizing the images, which makes sense, so we'll definitely do that.

I'm not seeing the same results as you posted above though. What URL did you run it on? I ran it on asyncdisplaykit.org. Are you testing some other page, like one of the guides?

If you could just write a few more words in your comments about what you're thinking here, it would be much more clear. I apologize for the back-and-forth, but you've been pointing to a couple separate tools and not really sharing the URLs being used or how you might suggest we improve. Though I'm an expert in native app programming, I am not an expert in web optimization — I definitely have a lot of respect for the art of page speedup and am certainly glad you raised this to our attention, so thank you again for helping us understand fully.

@lappp9 could you check in the new, optimized images? We could use pngcrush --brute, or Google appears to let you download optimized images directly from their tool, which is pretty great.

https://developers.google.com/speed/pagespeed/insights/?url=asyncdisplaykit.org

screen shot 2016-01-18 at 8 28 19 pm screen shot 2016-01-18 at 8 28 41 pm
ashishyadav311 commented 8 years ago

Thanks for you cooperation, I have asynchronously loaded my script file and issue seemed to disappeared or you might have optimized at your end. the url i was trying to optimized through the code was (http://www.makaaniq.com/buy-sell-move-property/your-step-by-step-guide-to-buying-a-home) thanks a lot.

appleguy commented 8 years ago

Thanks @ashishyadav311 ! Glad you were looking at this for us!