Copy link to clipboard
Copied
Guten Tag alle
DW CC2017 ist ein tolles Werkzeug - danke!
Nun habe ich mit einigem Aufwand meine Website responsive gemacht. DW hat ja bootstrap integriert, das heisst, es gibt beim Neuanlegen einer Site je eine Datei bootstrap.css, jquery-1.11.3.min.js und bootstrap.js. Diese Dateien sollen nicht bearbeitet werden, was mir einleuchtet.
Weiter habe ich eine eigene css-Datei my_styles.css angelegt. - Hat alles bestens geklappt.
ABER:
Ich bin ratlos.
WAS SOLL ICH TUN?
Wenn ich die Dateien komprimiere, dann heisst das ja, dass ich die bestehenden Dateien durch die komprimierten ersetzen muss.
Eigentlich habe ich noch mehr Fragen in diesem Zusammenhang, aber ich will nicht zu viel vermischen.
Ich bin dankbar für jeden Hinweis aus der Community!
I assume you mean Google Page Speed Insights. Take what Google says with a good measure of salt. It's not yet possible for modern websites to achieve a perfect 100/100 score on that meter unless your landing page uses text only and no scripts or external CSS. In the real world, that's not how we build web sites. Therefore, it's an impossible benchmark. Learn from it and implement all that you can. But don't lose sleep over the things you can't fix.
As an example, Page Speed Insights re
...Copy link to clipboard
Copied
Hi,
I will let someone else reply about the bootstrap files, as I do not use it.
Regarding the site not being optimized for mobile devices, this is a common problem that is made worse by the use of frameworks like bootstrap, and one Google have only in the last few years started complaining about. It is caused by a number of problems, one of them being that developers 'hide' content from mobile devices but still force the device to download the content, (use of display: none;).
Another is that unless you optimize the css to remove all unused declerations, everything is downloaded even what is not used.
All the above means that all of the content, (images and text) css and possibly videos and content such as those used in a carousel, which is commonly included in a desktop layout but hidden on mobile is still downloaded by mobile devices, which causes excessive bandwidth usage for those using a mobile network.
Now to downloadable fonts.
These have become very popular over the last few years, but the popularity of them has led to developers to over use them, and instead of limiting the use to essentials, they are being used for everything. Downloadable font files can be anything from 80kb to Mb in size, again a problem with what the user must download. It also means that the browser renders the page using the browsers default fonts, before replacing those fonts with the downloadable font(s), causing the display to 'flash' as the displayed fonts are changed.
Copy link to clipboard
Copied
Hi Pziecina
danke für die rasche und ausführliche Antwort.
Ich verstehe jetzt ein bisschen besser, warum die Sache mit dem optimieren so ist.
Aber ich weiss immer noch nicht, was ich tun kann oder tun muss. - Ich hoffe, dass jemand sich mit bootstrap auskennt und meine Fraen beantworten kann.
Schliesslich möchte ich ja nicht eine Technik verwenden, die von Google nachteilig behandelt wird.
Zu den Webfonts: es wird ja sehr gut angezeigt, wie viel Ressourcen eine Schrift braucht - "narrensicher" mit grün-gelb-rot. Da habe ich schon darauf geschaut, dass ich nur schnell ladbare Schriften ausgewählt habe.
Es ist doch sehr schade, wenn gute Tools am Ende schlecht bewertet werden - und die damit erstellten Websites ebenfalls!
Copy link to clipboard
Copied
I assume you mean Google Page Speed Insights. Take what Google says with a good measure of salt. It's not yet possible for modern websites to achieve a perfect 100/100 score on that meter unless your landing page uses text only and no scripts or external CSS. In the real world, that's not how we build web sites. Therefore, it's an impossible benchmark. Learn from it and implement all that you can. But don't lose sleep over the things you can't fix.
As an example, Page Speed Insights reports a penalty for using Google Analytics tracking code. What? Google marks down for using Google code? That's right. And the workarounds are so ridiculous that nobody implements them. You can definitely skip that one. It's absurd.
Things you can do to make your site faster:
I do not recommend using the so called defer.JS script that's available on the web. I've tested it. It's prone to failure and could easily break your website.
Nancy
Copy link to clipboard
Copied
Thank you, Nancy
your remarks are very informative and help me to understand a bit better what happens.
So I have things to learn from it as you suggested and you gave me good advices to make my site faster.
Have a nice day
M S