Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Finn Arne Hansen 12 posts 69 karma points
    Jan 28, 2015 @ 16:34
    Finn Arne Hansen
    0

    Website based on TXT downloads extremely slowly

    Hello there

    I am (almost) a novice and I have created www.autobuy.dk on an Umbraco 7-platform with the starter kit TXT, a free site template designed by n33 for HTML5 UP - and yes I remembered to credit these guys. But as you ca see, it takes 20-25 seconds to download the website. The web hotel has made a speed test and it's not their server that's failing.
    I have tried to use the developer tool in Explorer 11 to get e sense of what's wrong. It says (numerous times): Paint 0,12 m/s
    Paint 0,78 ms
    Paint 0,55 m/s

    plus this, translated from Danish: "Visual changes were performed by the DOM that demanded a re-drawing of all parts concerned"

    I have only made small changes in the css, i.e. translations of a few words for menues.

    What to do?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 28, 2015 @ 17:43
    Jan Skovgaard
    0

    Hi Finn

    First of all it's not the theme, but the images you're using that needs to loose weight.

    You should cut down the image size - Out of the box the theme is pretty quick but when you add images that weigh a lot and use the browser for downscaling them rather than serving a cropped version then it can be reaaally slow.

    I just ran a speedtest using gtmetrix, which you can see here http://gtmetrix.com/reports/www.autobuy.dk/AAa2z6qD and enabling browser caching would probably also be a good idea as you can see by the report.

    Those two things will improve your load-time dramatically. But first try working on the images - For instance the one above the "Det kan autobuy.dk" heading is downscaled to display at 207x104 pixels but it's natural size is 728x280 pixels. Instead you should serve an art directed image either by using the image cropper og doing it manually so the image is saved using the proper dimensions, which will cut down the image weight - You should do this for all of your images.

    If using Photoshop make sure to use the "Save for web" option.

    Once that is done you can also run it through an image compression tool to cut down the size further. Perhaps using a service like http://www.smushit.com/ysmush.it/

    Hope this makes sense.

    /Jan

  • Finn Arne Hansen 12 posts 69 karma points
    Jan 29, 2015 @ 09:41
    Finn Arne Hansen
    0

    Vow, never expected such a thorough answer, thanks! I was sloppy with the images, I admit that. Will perform he fixes, using pixlr.com, great website.

    Can I enable browser cahcing from inside my webhotel? I am a Unica-customer (formerly Byte-Bob)? My own download time is not the most important isue, it's the visitors.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 29, 2015 @ 09:52
    Jan Skovgaard
    0

    Hi Finn

    You should be able to do that in the <staticContent> part of your web.config file.

    Then you can add the clientCache element to the section like below, which is setting it to 30 days.

    <staticContent>
     <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/>
    </staticContent>
    

    Is that a danish hosting provider? If the server is placed outside of denmark it could perhaps also slow down the DNS lookup time but try fixing the images and the browser caching first and see if that improves the loadtime.

    Hope this helps :)

    /Jan

  • Finn Arne Hansen 12 posts 69 karma points
    Jan 29, 2015 @ 10:23
    Finn Arne Hansen
    0

    I'll do. Thanx

  • Finn Arne Hansen 12 posts 69 karma points
    Feb 07, 2015 @ 09:43
    Finn Arne Hansen
    0

    Hmm, where do I find the web.config file?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 07, 2015 @ 13:37
    Jan Skovgaard
    0

    Hi Finn

    In the root of your Umbraco folder.

    /Jan

  • Finn Arne Hansen 12 posts 69 karma points
    Feb 09, 2015 @ 16:51
    Finn Arne Hansen
    0

    I have looked and searched via the user interfase - haven't found it. I did a so called one-click install directly on the server of the hosting company. Should I log in and take a look there?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 09, 2015 @ 16:53
    Jan Skovgaard
    0

    Hi Finn

    It's not accessible from the Umbraco backoffice - It's on the root on the disk so if you log on to the server using FTP you should be able to find it.

    Hope this makes sense.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft