Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
Like Tree2Likes
  • 2 Post By Bitpalace

Thread: Why dosent google like my css and js on this page

  1. #1
    Junior Member
    Join Date
    Apr 2016
    Posts
    1
    Member #
    53799

    Current Rating

    Visual Appeal:
    0.0 out of 5

    Accessibility:
    0.0 out of 5

    Website Speed:
    0.0 out of 5

    Compatibility:
    0.0 out of 5

    Overall Rating:
    0.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    Exclamation Why dosent google like my css and js on this page

    Hi

    i am just in the process off finishin a new more mobile frindly design. But after the upload of the new site ive got this problem with google pagespeed.

    Pictures not optimized
    and something with to many javascript files
    and the CSS files was not Optimize in CSS Delivery.

    any surgestions..

    www.homeandseure.co.za/index.html

    Thz

  2.  

  3. #2
    Senior Member
    Join Date
    Feb 2006
    Posts
    801
    Member #
    12463
    Liked
    300 times
    Your link is not working

  4. #3
    Junior Member
    Join Date
    Mar 2016
    Location
    Chicago, IL
    Posts
    24
    Member #
    53671
    Liked
    8 times
    CSS and JS errors in Google Pagespeed Insights normally have three reasons:

    1) The area above the fold (the area that a user sees immediately after opening a page without scrolling) should be fully accessible and usable without the JS scripts and CSS settings loading. If either one is needed to display the content above the fold, it will show-up in Pagespeed Insights. Removing JS and CSS from this area is extremely hard, because most websites build their menus with JQuery or CSS instructions. You could try to asynchronously load all CSS and JS that are not needed for the above the fold area, but this may actually cost more total loading time for a page than simply accepting the fact that these are fixed componens of your website.

    2) The JS and CSS files have not been minimized (reduced). See HTML Compressor - Speed up your web pages. to learn what this means.

    3) You have too many JS or CSS files. Try to combine their content in single files. Sometimes this is good, sometimes it is not. When some .js files are only needed for specific functions on some sub-pages, try to avoid loading them at all.
    Vapr_Arts and Krazyhawk like this.

  5. #4
    Junior Member Krazyhawk's Avatar
    Join Date
    Feb 2016
    Location
    IL, USA
    Posts
    23
    Member #
    53438
    Liked
    7 times
    Just wanted to add on to Bitpalace's wonderful answer, if you choose to go Async with some CSS, you may get a flash of unstyled content.

    I'm a firm believer in JS being async and below the fold, but sometimes it is necessary above.

    Bravo BitPalace on a well explained answer.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:46 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com