{"id":7323,"date":"2023-08-08T22:30:21","date_gmt":"2023-08-08T20:30:21","guid":{"rendered":"https:\/\/tw.bizbuilder.nl\/en\/?post_type=tw-service&#038;p=7323"},"modified":"2025-02-19T09:04:06","modified_gmt":"2025-02-19T09:04:06","slug":"page-speed-optimization","status":"publish","type":"tw-service","link":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/","title":{"rendered":"Page speed optimization"},"content":{"rendered":"<pre><prevent-autop><div class=\"row content-in-container all no-lazy-render t__vertical m__vertical\" data-cache-vw-d=\"1512\" data-cache-h-d=\"362.6875\" data-cache-vw-t=\"617\" data-cache-h-t=\"613.5703125\" data-cache-vw-m=\"462\" data-cache-h-m=\"1123.1875\"><div class=\"col all w-5\/d\/9\"><div class=\"row all v-center wrap half-row-gap\"><div class=\"col all w-auto w-11\/m\/12\"><h2 id=\"uid-11\" class=\"anim-fade-in pre-prepare-anim\">What is page speed optimization?<\/h2><\/div><div class=\"col all bg-twDarkCyan__light border-rad-top-right-0 border-rad-bottom-right-0 border-rad-bottom-left-0 border-rad-top-left-0 bg-twDarkCyan__dark pad-0 w-auto mar-right-0 anim-fade-in pre-prepare-anim\"><div class=\"shape square\" style=\"--w: calc(var(--h2-font-size) * .67); --w-m: calc(var(--h2-font-size) * .67);\"><\/div><\/div><div class=\"col all border-rad-top-right-0 border-rad-bottom-right-0 border-rad-bottom-left-0 border-rad-top-left-0 pad-0 w-auto mar-right-0 mar-left-0\"><div class=\"shape square\" style=\"--w: calc(var(--h3-font-size) * .67); --w-m: calc(var(--h5-font-size) * .67);\"><\/div><\/div><div class=\"col all bg-twDarkCyan__light pad-top-0 pad-bottom-0 border-rad-top-right-0 border-rad-bottom-right-0 border-rad-bottom-left-0 border-rad-top-left-0 bg-twDarkCyan__dark mar-left-0 anim-fade-in pre-prepare-anim\"><div class=\"shape square\" style=\"--w: calc(var(--h2-font-size) * .67); --w-m: calc(var(--h2-font-size) * .67);\"><\/div><\/div><\/div><p class=\"anim-fade-in pre-prepare-anim\"><dfn>Page speed optimization<\/dfn>&nbsp;means <strong>improving<\/strong> the <strong>loading time<\/strong> of <strong>web pages<\/strong>. This is done by serving less files, and making sure the files are as light as possible, without cutting into the quality or functionality of a web page's web design.<\/p><p class=\"anim-fade-in pre-prepare-anim\">Our websites and webshops all get a page speed optimization, because a good <a href=\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/search-engine-optimization\/#page-speed-optimization\">page speed is an important part of search engine optimization (SEO)<\/a> and conversion.<\/p><p class=\"anim-fade-in pre-prepare-anim\">User experience, besides page speed, is also important for SEO. Google's new ranking factor <a href=\"https:\/\/www.terluinwebdesign.nl\/en\/core-web-vitals\/\">Core Web Vitals is all about page speed, interactivity and visual stability<\/a>. Those are two extra factors that are part of <a href=\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/conversion-optimization\/\">conversion rate optimization (CRO)<\/a>.<\/p><\/div><div class=\"col all t__pad-top-m m__pad-top-m\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2021\/05\/page-speed-optimization.png\" data-src-light=\"\" data-src-dark=\"\" title=\"\" alt=\"\" width=\"800\" height=\"506\" srcset=\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/plugins\/tw-builder\/access\/img\/tmp\/2021\/05\/page-speed-optimization-w996.png.webp\" class=\"softer-shadow anim-fade-in pre-prepare-anim\" data-img-vw-d=\"1512\" data-img-w-d=\"527.546875\" data-img-h-d=\"333.15625\" data-img-of-d=\"fill\" data-img-vw-t=\"617\" data-img-w-t=\"502.4375\" data-img-h-t=\"317.296875\" data-img-of-t=\"fill\" data-img-vw-m=\"462\" data-img-w-m=\"404.25\" data-img-h-m=\"255.2890625\" data-img-of-m=\"fill\"><\/div><\/div><div class=\"row all c h-center v-center d__content-in-narrow-container t__content-in-container m__content-in-container color-scheme-dark__light bg-twDarkBlue__light d__full-height vertical bg-twDarkBlue__dark\" data-cache-vw-d=\"1512\" data-cache-h-d=\"709.59375\" data-cache-vw-t=\"617\" data-cache-h-t=\"557.6015625\" data-cache-vw-m=\"462\" data-cache-h-m=\"727.9140625\"><div class=\"col tablet mobile\"><img loading=\"lazy\" decoding=\"async\" class=\"obj-center-top d__background anim-fade-in t__static m__static\" src=\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/06\/123-thijs-and-stef.jpg\" data-src-light=\"\" data-src-dark=\"\" title=\"\" alt=\"\" width=\"4608\" height=\"2681\" srcset=\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/plugins\/tw-builder\/access\/img\/tmp\/2024\/06\/123-thijs-en-stef-w2855.jpg.webp\" data-img-vw-d=\"1512\" data-img-w-d=\"1512\" data-img-h-d=\"709.59375\" data-img-of-d=\"cover\" data-img-vw-t=\"617\" data-img-w-t=\"502.4375\" data-img-h-t=\"292.3046875\" data-img-of-t=\"fill\" data-img-vw-m=\"462\" data-img-w-m=\"404.25\" data-img-h-m=\"235.1796875\" data-img-of-m=\"fill\"><\/div><div class=\"col all color-scheme-dark__light bg-twDarkBlue__light w-auto m__pad-top-0 m__pad-left-0 m__pad-right-0 m__pad-bottom-0 m__border-rad-top-left-0 m__border-rad-top-right-0 m__border-rad-bottom-right-0 m__border-rad-bottom-left-0 w-3\/d\/4 t__pad-left-0 t__pad-right-0 t__pad-top-0 t__pad-bottom-0 w-4\/t\/5 bg-twDarkBlue__dark\"><h2 id=\"uid-0\" class=\"border-bottom compact-w bor-twDarkCyan__dark mar-left-auto mar-right-auto pad-bottom-xxs c bor-twDarkCyan__light anim-fade-in\">How we help<\/h2><p class=\"anim-fade-in\"><strong>Page speed <\/strong>depends on a <strong>lot of different factors<\/strong>, but <strong>not all factors<\/strong> are <strong>worth the effort<\/strong> to <strong>optimize a website's page loading speed<\/strong>. We would like to explain to you <strong>what we do to optimize the page speed<\/strong> of your website\/webshop.<\/p><a class=\"button anim-fade-in\" href=\"#schedule-introductory-meeting\"><span>Introduction<\/span><\/a><\/div><\/div><div class=\"row content-in-container all\" data-cache-vw-d=\"1512\" data-cache-h-d=\"2103.859375\" data-cache-vw-t=\"617\" data-cache-h-t=\"1688.53125\" data-cache-vw-m=\"462\" data-cache-h-m=\"3818.8125\"><div class=\"col all pad-bottom-m\"><h2 class=\"c d__h1 d__mar-bottom-l t__mar-bottom-l border-bottom compact-w mar-left-auto mar-right-auto pad-bottom-xxs bor-twDarkCyan__light anim-fade-in bor-twDarkCyan__dark\" id=\"approach\">Our approach<\/h2><div class=\"row all wrap ignore-nesting v-stretch half-row-gap\"><div class=\"col all mar-top-auto mar-bottom-auto bg-twDarkBlue__light color-scheme-dark__light w-4\/d\/9 w-1\/t\/1 w-1\/m\/1 d__mar-right-0 m__mar-right-0 m__mar-left-0 bg-twDarkBlue__dark m__border-rad-top-left-0 m__border-rad-top-right-0 m__border-rad-bottom-right-0 m__border-rad-bottom-left-0\" data-m-m=\"2\" data-m-t=\"2\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/02\/square-pattern-fade-down-cut-bottom-right.svg\" data-src-light=\"\" data-src-dark=\"\" title=\"\" alt=\"\" width=\"100\" height=\"30\" class=\"border-rad-top-left-s mar-top-l-n mar-left-l-n h-space-m w-auto anim-fade-in\" data-img-vw-d=\"1512\" data-img-w-d=\"98.4375\" data-img-h-d=\"29.53125\" data-img-of-d=\"fill\" data-img-vw-t=\"617\" data-img-w-t=\"60.234375\" data-img-h-t=\"18.0703125\" data-img-of-t=\"fill\" data-img-vw-m=\"462\" data-img-w-m=\"96.25\" data-img-h-m=\"28.875\" data-img-of-m=\"fill\"><h3 class=\"compact-w border-bottom pad-bottom-xxs bor-twDarkCyan__light bor-twDarkCyan__dark anim-fade-in\">Optimizing images<\/h3><p class=\"anim-fade-in\">We make sure that your website serves images in a <strong>modern file format<\/strong>, and the images are not larger than necessary.<\/p><p class=\"anim-fade-in\">This way, web pages on your website or webshop will not get as heavy and will thus load faster, especially for visitors with a <strong>limited downloading speed<\/strong>, such as <strong>3G, 4G or 5G<\/strong> (mobile network).<\/p><\/div><div class=\"col all w-auto mar-bottom-0 w-1\/d\/9 t__mar-left-l\" title=\"\"><div class=\"row all h100 vertical h-center\"><div class=\"col all mar-bottom-0 compact-w\" title=\"\"><p class=\"hide\">&nbsp;<\/p><\/div><div class=\"col all w-auto c mar-bottom-0 compact-w\" title=\"\"><div class=\"bg-twDarkCyan__light bg-twDarkCyan__dark circle w-space-s h-space-s inline-block absolute pos-top mar-left-xs-n mar-right-xs-n\"><\/div><\/div><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 pad-top-s compact-w\"><p class=\"hide\">&nbsp;<\/p><\/div><\/div><\/div><div class=\"col all mar-top-auto mar-bottom-auto d__mar-left-0 w-4\/d\/9 pad-top-m pad-bottom-m\"><p class=\"h3 uppercase anim-fade-in\">Step 1<\/p><\/div><\/div><div class=\"row all wrap ignore-nesting v-stretch reverse mar-top-0 half-row-gap\"><div class=\"col all mar-top-auto mar-bottom-auto bg-twDarkBlue__light color-scheme-dark__light w-4\/d\/9 w-1\/t\/1 w-1\/m\/1 d__mar-left-0 m__mar-left-0 m__mar-right-0 bg-twDarkBlue__dark m__border-rad-top-left-0 m__border-rad-top-right-0 m__border-rad-bottom-right-0 m__border-rad-bottom-left-0\"><h3 class=\"compact-w border-bottom pad-bottom-xxs bor-twDarkCyan__light bor-twDarkCyan__dark anim-fade-in\">Lazy loading images<\/h3><p class=\"anim-fade-in\"><strong>Lazy loading images<\/strong> means that images are only <strong>downloaded<\/strong> when they <strong>enter the viewport<\/strong> (with a threshold).<\/p><p class=\"anim-fade-in\">Normally, <strong>all images<\/strong> of a web page are downloaded - even images that you don't even see yet. That is <strong>inefficient<\/strong>, because then you would have to wait longer for a web page to completely load.<\/p><\/div><div class=\"col all w-auto mar-bottom-0 w-1\/d\/9 t__mar-left-l\" title=\"\" data-m-m=\"1\" data-m-t=\"1\"><div class=\"row all h100 vertical h-center\"><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 compact-w\" title=\"\"><p class=\"hide\">&nbsp;<\/p><\/div><div class=\"col all w-auto c mar-bottom-0 compact-w\" title=\"\"><div class=\"bg-twDarkCyan__light bg-twDarkCyan__dark circle w-space-s h-space-s inline-block absolute pos-top mar-left-xs-n mar-right-xs-n\"><\/div><\/div><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 pad-top-s compact-w\"><p class=\"hide\">&nbsp;<\/p><\/div><\/div><\/div><div class=\"col all mar-top-auto mar-bottom-auto w-4\/d\/9 d__mar-right-0 pad-top-m pad-bottom-m\"><p class=\"h3 d__r uppercase anim-fade-in\">Step 2<\/p><\/div><\/div><div class=\"row all wrap ignore-nesting v-stretch mar-top-0 half-row-gap\"><div class=\"col all mar-top-auto mar-bottom-auto bg-twDarkBlue__light color-scheme-dark__light w-4\/d\/9 w-1\/t\/1 w-1\/m\/1 d__mar-right-0 m__mar-right-0 m__mar-left-0 bg-twDarkBlue__dark m__border-rad-top-left-0 m__border-rad-top-right-0 m__border-rad-bottom-right-0 m__border-rad-bottom-left-0\" data-m-m=\"2\" data-m-t=\"2\"><h3 class=\"compact-w border-bottom pad-bottom-xxs bor-twDarkCyan__light bor-twDarkCyan__dark anim-fade-in\">Combining files<\/h3><p class=\"anim-fade-in\"><strong>Combining files<\/strong> to <strong>a single file<\/strong>, makes it so that your web browser has to send only <strong>a single request<\/strong> to the website's server, <strong>instead of 15 seperate<\/strong> requests to be awaiting a response for. We apply this optimization to CSS and JavaScript files.<\/p><\/div><div class=\"col all w-auto mar-bottom-0 w-1\/d\/9 t__mar-left-l\" title=\"\"><div class=\"row all h100 vertical h-center\"><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 compact-w\" title=\"\"><p class=\"hide\">&nbsp;<\/p><\/div><div class=\"col all w-auto c mar-bottom-0 compact-w\" title=\"\"><div class=\"bg-twDarkCyan__light bg-twDarkCyan__dark circle w-space-s h-space-s inline-block absolute pos-top mar-left-xs-n mar-right-xs-n\"><\/div><\/div><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 pad-top-s compact-w\"><p class=\"hide\">&nbsp;<\/p><\/div><\/div><\/div><div class=\"col all mar-top-auto mar-bottom-auto w-4\/d\/9 d__mar-left-0 pad-top-m pad-bottom-m\"><p class=\"h3 uppercase anim-fade-in\">Step 3<\/p><\/div><\/div><div class=\"row all wrap ignore-nesting v-stretch reverse mar-top-0 half-row-gap\"><div class=\"col all mar-top-auto mar-bottom-auto bg-twDarkBlue__light color-scheme-dark__light w-4\/d\/9 w-1\/t\/1 w-1\/m\/1 d__mar-left-0 m__mar-left-0 m__mar-right-0 bg-twDarkBlue__dark m__border-rad-top-left-0 m__border-rad-top-right-0 m__border-rad-bottom-right-0 m__border-rad-bottom-left-0\"><h3 class=\"compact-w border-bottom pad-bottom-xxs bor-twDarkCyan__light bor-twDarkCyan__dark anim-fade-in\">Minifying files<\/h3><p class=\"anim-fade-in\">Minifying files means that we remove all the characters and data from a file that is not necessary for the file to be functional. Developers make use of spaces, line breaks, quotation marks, and other characters. This way they make it more readable for themselves, but this does not matter for the web browser. The web browser will ignore the unnecessary data anyways.<\/p><p class=\"anim-fade-in\">By <strong>removing<\/strong> all <strong>unnecessary characters and data<\/strong><strong><\/strong><strong><\/strong> from a file <strong>before<\/strong> sending it to your web browser, we end up sending you a file that is <strong>not as heavy<\/strong> as a file with all the unnecessary characters and data. This will have an impact on the <strong>weight of the web page<\/strong>.<\/p><\/div><div class=\"col all w-auto mar-bottom-0 w-1\/d\/9 t__mar-left-l\" title=\"\" data-m-m=\"1\" data-m-t=\"1\"><div class=\"row all h100 vertical h-center\"><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 compact-w\" title=\"\"><p class=\"hide\">&nbsp;<\/p><\/div><div class=\"col all w-auto c mar-bottom-0 compact-w\" title=\"\"><div class=\"bg-twDarkCyan__light bg-twDarkCyan__dark circle w-space-s h-space-s inline-block absolute pos-top mar-left-xs-n mar-right-xs-n\"><\/div><\/div><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 pad-top-s compact-w\"><p class=\"hide\">&nbsp;<\/p><\/div><\/div><\/div><div class=\"col all mar-top-auto mar-bottom-auto w-4\/d\/9 d__mar-right-0 pad-top-m pad-bottom-m\"><p class=\"h3 d__r uppercase anim-fade-in\">Step 4<\/p><\/div><\/div><div class=\"row all wrap ignore-nesting v-stretch mar-top-0 half-row-gap\"><div class=\"col all mar-top-auto mar-bottom-auto bg-twDarkBlue__light color-scheme-dark__light w-4\/d\/9 w-1\/t\/1 w-1\/m\/1 d__mar-right-0 m__mar-right-0 m__mar-left-0 bg-twDarkBlue__dark m__border-rad-top-left-0 m__border-rad-top-right-0 m__border-rad-bottom-right-0 m__border-rad-bottom-left-0\" data-m-m=\"2\" data-m-t=\"2\"><h3 class=\"compact-w border-bottom pad-bottom-xxs bor-twDarkCyan__light bor-twDarkCyan__dark anim-fade-in\">Preloading files used by all pages<\/h3><p class=\"anim-fade-in\">Websites often have files that will appear on every single page. Therefor we can send those files alongwith the main document, which is the HTML file, so that the web browser <strong>does not need to send a seperate request<\/strong> for that file that we just preloaded.<\/p><p class=\"anim-fade-in\">This will cause the first package to be <strong>a little heavier<\/strong>, but as long as the preloaded file is not very large, this will do <strong>more good than harm<\/strong>; it will make sure that the process of loading a web page will run smoother and <strong>faster<\/strong>.<\/p><p class=\"anim-fade-in\">This method (preloading) is only available for websites that make use of HTTPS with a valid SSL certificate.<\/p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/02\/square-pattern-fade-down-cut-top-left.svg\" data-src-light=\"\" data-src-dark=\"\" title=\"\" alt=\"\" width=\"100\" height=\"30\" class=\"h-space-m w-auto mar-bottom-l-n mar-left-auto mar-right-l-n border-rad-bottom-right-s mar-top-m anim-fade-in\" data-img-vw-d=\"1512\" data-img-w-d=\"98.4375\" data-img-h-d=\"29.53125\" data-img-of-d=\"fill\" data-img-vw-t=\"617\" data-img-w-t=\"60.234375\" data-img-h-t=\"18.0703125\" data-img-of-t=\"fill\" data-img-vw-m=\"462\" data-img-w-m=\"96.25\" data-img-h-m=\"28.875\" data-img-of-m=\"fill\"><\/div><div class=\"col all w-auto mar-bottom-0 w-1\/d\/9 t__mar-left-l\" title=\"\"><div class=\"row all h100 vertical h-center\"><div class=\"col all border-right pad-right-0 bor-twDarkCyan__light bor-twDarkCyan__dark mar-bottom-0 compact-w\" title=\"\"><p class=\"hide\">&nbsp;<\/p><\/div><div class=\"col all w-auto c mar-bottom-0 compact-w\" title=\"\"><div class=\"bg-twDarkCyan__light bg-twDarkCyan__dark circle w-space-s h-space-s inline-block absolute pos-top mar-left-xs-n mar-right-xs-n\"><\/div><\/div><div class=\"col all pad-right-0 mar-bottom-0 pad-top-s compact-w\"><p class=\"hide\">&nbsp;<\/p><\/div><\/div><\/div><div class=\"col all mar-top-auto mar-bottom-auto w-4\/d\/9 d__mar-left-0 pad-top-m pad-bottom-m\"><p class=\"h3 uppercase anim-fade-in\">Step 5<\/p><\/div><\/div><\/div><\/div><div class=\"row all t__content-in-container m__content-in-container d__content-in-narrow-container\" data-cache-vw-d=\"1512\" data-cache-h-d=\"2903.484375\" data-cache-vw-t=\"617\" data-cache-h-t=\"2443.125\" data-cache-vw-m=\"462\" data-cache-h-m=\"6674.46875\"><div class=\"col all\"><h2>How do we measure page speed?<\/h2><p>We use tools that are specialized for testing speed of websites and webshops at desktop devices as well as mobile devices.<\/p><p>We use the following tools for measuring page speed: <a href=\"https:\/\/pagespeed.web.dev\/\" rel=\"noopener\" target=\"_blank\">PageSpeed Insights<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/gtmetrix.com\/\" rel=\"noopener\" target=\"_blank\">GTmetrix<\/a>.<\/p><h3>PageSpeed Insights<\/h3><p>PageSpeed Insights offers the possibility to test page speed not only on desktop devices, but also mobile devices - <strong>for free<\/strong>. However, the test results of PageSpeed insights can <strong>fluctuate<\/strong>. The tool tests from the United States, so the measured loading time may be lower if the server of your website is located outside of the United States. This is called <strong>latency<\/strong>.<\/p><p>PageSpeed Insights is a tool developed by Google. Since April 2020, Google has a new kind of quality signals that they will use as a ranking factor for their search engine: <a href=\"https:\/\/web.dev\/vitals\/\" target=\"_blank\" rel=\"noopener\" class=\"EXTERNAL\">Core Web Vitals<\/a>. They are planning to use these signals in ranking in June 2021.<\/p><h3>GTmetrix<\/h3><p>GTmetrix offers free testing of the page speed of your websites and webshop, with a choice between locations where the tests would be taken from. They have many more options on top of that. The downside of GTmetrix is that testing page speed on a mobile device is not free, and that you need an account (which is free, though) to be able to use options like testing from a different location.<\/p><p>We notice that the test results of GTmetrix are more stable. GTmetrix gives a clear overview of many different possibilities for optimizing the page speed of your website or webshop. GTmetrix also offers you the ability to take snapshots with film strips, and even a video of their tool loading a web page of your website or webshop.<\/p><p>GTmetrix also keeps a history of all of your tests, so that you can compare older test results to newer ones.<\/p><h2>What causes loading time?<\/h2><h3>Seeking server and sending a request<\/h3><p>If you enter the <strong>address<\/strong> (URL) of a website or click a link, then your browser will first figure out <strong>which server<\/strong> it needs to send a <strong>request<\/strong> to in order to receive a web page as a response. This process is part of the <strong>Domain Name System<\/strong> (DNS).<\/p><p>You can basically compare it to a <strong>contact list of the internet<\/strong>&nbsp;\u2013 you can't just enter&nbsp;<em>Jennifer<\/em>&nbsp;as a phone number to call, because your phone needs a phone number. However, you linked <em>Jennifer<\/em>&nbsp; to a phone number, because she is in your contact list.<\/p><p>It works the same way for <strong>URLs<\/strong> (addresses of websites)&nbsp;\u2013 a <strong>recognizable name<\/strong> gets converted to an <strong>address<\/strong> that your <strong>web browser<\/strong> understands. Your web browser will browse the contact list and will call the number when it has found the right number.<\/p><p>Your web browser will make it's request by calling the right server.<\/p><p>This sounds like a long lasting process, but this only takes between 20 and 120 milliseconds (0.02 - 0.12 seconds).<\/p><h3>Waiting for a response<\/h3><p>After the server of the website has received your request, it will generate a response. Waiting for a response of a server takes, on average, between <strong>200 and 500 milliseconds<\/strong> (0.2 - 0.5 seconds). This depends on how busy the server is, how powerful the server is, the configuration of the server, and whether or not the server uses caching.<\/p><p>We use <a href=\"https:\/\/www.litespeedtech.com\/\" target=\"_blank\" rel=\"noopener\">LiteSpeed Cache<\/a> for our clients' WordPress websites, which is the most advanced caching tool available for WordPress.<\/p><h3>Web browser receives an incomplete package<\/h3><p>The server send an <b>HTML file<\/b> to your web browser as a response. That file contains the content of the page with references to all files that the web browser needs to <strong>style<\/strong> the <strong>bare content<\/strong> and to give it additional functionalities.<\/p><h3>Web browser downloads the necessary files<\/h3><p><strong>CSS<\/strong> files are responsible for the styling of websites\/webshops. <strong>JavaScript<\/strong> files offert additional <strong>functionalities<\/strong>, such as an expandable menu for mobile devices. Besides those files there are <strong>images<\/strong>, which are also files, that need to be downloaded by your web browser to be able to show them. If the <strong>file size<\/strong> of images are not optimized, then the <strong>loading time<\/strong> of the web page can increase rapidly. If a web page requires <strong>lots of files<\/strong>, then it costs the web browser <strong>extra time<\/strong> to download these.<\/p><p><strong>Your web browser send a request to the server for every single file.<\/strong> This will not cause a great impact when it comes to one file, but when it comes to sending <strong>50 seperate requests<\/strong> to a server, and <strong>awaiting a response<\/strong> for each of those, <strong>will<\/strong> take lots of extra time.<\/p><h3>Web browser will draw for you<\/h3><p>Your web browser now has both the <strong>content<\/strong> of the page and all <strong>files<\/strong>, which when put together will determine <strong>how the page will look<\/strong>.<\/p><p>Your web browser uses the <strong>CSS<\/strong> files to style the <strong>bare content<\/strong> from the <strong>HTML<\/strong> file: the web browser will now draw the page for you.<\/p><p>CSS files contain <strong>queries<\/strong> for <strong>elements<\/strong> such as paragraphs, headings, links, and buttons. Every query also has a description of what <strong>styling<\/strong> will get applied to elements that are found through the query. When written in an understandable way, for instance:<\/p><p><i>Search for all links, underline them, and make them dark blue.<\/i><\/p><p><i>If the visitor hovers on this element, then remove the underline temporarily.<\/i><\/p><p>This is not literally what is written in those CSS files, since this is a translation from code to something understandable.<\/p><p>If a CSS file contains a lot of queries with a lot of changes to a lot of elements at the same time, that will cost your web browser extra time to be able to draw the web page for you. CSS files by themselves do generally not create a huge impact on the page load time.<\/p><p>This is where JavaScript is good at, slowing down pages. JavaScript can make changes to the HTML file, which carries all the elements that will be styled by using the CSS files. Some changes will change the outcome of the styling, because certain queries will apply to new elements or elements that suddenly got a new class name due to execution of a certain JavaScript file.\r\n\r\n<\/p><p><strong>CSS<\/strong> files <strong>refer to class names<\/strong> in their <strong>queries<\/strong>, so if class names are <strong>removed<\/strong> or <strong>added<\/strong> to elements in the <strong>HTML<\/strong> file, then the web browser has to <strong>redraw<\/strong> the web page, because the web browser does not know exactly <strong>what changes<\/strong> will affect <strong>what part<\/strong> of the web page. It is not a good idea either for the web browser to somehow find out what part of the web page to redraw, because that would be sensitive for errors, bugs, so the web browser would be better off just <strong>redrawing the whole web page<\/strong>.. thanks JavaScript..<\/p><\/div><\/div><\/prevent-autop><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Websites and webshops are not always built with page speed in mind. Did you let someone build your website or webshop, but do you want it to be faster? If so, then we can do a page speed optimization!<\/p>\n","protected":false},"author":1,"featured_media":8777,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"class_list":["post-7323","tw-service","type-tw-service","status-publish","has-post-thumbnail","hentry","tw-service-category-web-optimization"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Page speed optimization &#8211; Terluin Webdesign<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Page speed optimization &#8211; Terluin Webdesign\" \/>\n<meta property=\"og:description\" content=\"Websites and webshops are not always built with page speed in mind. Did you let someone build your website or webshop, but do you want it to be faster? If so, then we can do a page speed optimization!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/\" \/>\n<meta property=\"og:site_name\" content=\"Terluin Webdesign\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TerluinWebdesign\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-19T09:04:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1-1024x974.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"974\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@terluinwdesign\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/\",\"url\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/\",\"name\":\"Page speed optimization &#8211; Terluin Webdesign\",\"isPartOf\":{\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1.png\",\"datePublished\":\"2023-08-08T20:30:21+00:00\",\"dateModified\":\"2025-02-19T09:04:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#primaryimage\",\"url\":\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1.png\",\"contentUrl\":\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1.png\",\"width\":1693,\"height\":1611},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Services\",\"item\":\"https:\/\/www.terluinwebdesign.nl\/en\/services\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Page speed optimization\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/#website\",\"url\":\"https:\/\/www.terluinwebdesign.nl\/en\/\",\"name\":\"Terluin Webdesign\",\"description\":\"Let your website work for you\",\"publisher\":{\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.terluinwebdesign.nl\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/#organization\",\"name\":\"Terluin Webdesign\",\"url\":\"https:\/\/www.terluinwebdesign.nl\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2019\/05\/terluin.png\",\"contentUrl\":\"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2019\/05\/terluin.png\",\"width\":294,\"height\":674,\"caption\":\"Terluin Webdesign\"},\"image\":{\"@id\":\"https:\/\/www.terluinwebdesign.nl\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/TerluinWebdesign\/\",\"https:\/\/x.com\/terluinwdesign\",\"https:\/\/www.instagram.com\/terluinwebdesign\/\",\"https:\/\/www.linkedin.com\/company\/terluin-webdesig\/\",\"https:\/\/www.youtube.com\/channel\/UCqaaHJh0caCmucUaWsewhKQ\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Page speed optimization &#8211; Terluin Webdesign","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/","og_locale":"en_US","og_type":"article","og_title":"Page speed optimization &#8211; Terluin Webdesign","og_description":"Websites and webshops are not always built with page speed in mind. Did you let someone build your website or webshop, but do you want it to be faster? If so, then we can do a page speed optimization!","og_url":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/","og_site_name":"Terluin Webdesign","article_publisher":"https:\/\/www.facebook.com\/TerluinWebdesign\/","article_modified_time":"2025-02-19T09:04:06+00:00","og_image":[{"width":1024,"height":974,"url":"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1-1024x974.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@terluinwdesign","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/","url":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/","name":"Page speed optimization &#8211; Terluin Webdesign","isPartOf":{"@id":"https:\/\/www.terluinwebdesign.nl\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#primaryimage"},"image":{"@id":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#primaryimage"},"thumbnailUrl":"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1.png","datePublished":"2023-08-08T20:30:21+00:00","dateModified":"2025-02-19T09:04:06+00:00","breadcrumb":{"@id":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#primaryimage","url":"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1.png","contentUrl":"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2024\/07\/web-optimization-page-speed-optimization-1_1.png","width":1693,"height":1611},{"@type":"BreadcrumbList","@id":"https:\/\/www.terluinwebdesign.nl\/en\/services\/web-optimization\/page-speed-optimization\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Services","item":"https:\/\/www.terluinwebdesign.nl\/en\/services\/"},{"@type":"ListItem","position":2,"name":"Page speed optimization"}]},{"@type":"WebSite","@id":"https:\/\/www.terluinwebdesign.nl\/en\/#website","url":"https:\/\/www.terluinwebdesign.nl\/en\/","name":"Terluin Webdesign","description":"Let your website work for you","publisher":{"@id":"https:\/\/www.terluinwebdesign.nl\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.terluinwebdesign.nl\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.terluinwebdesign.nl\/en\/#organization","name":"Terluin Webdesign","url":"https:\/\/www.terluinwebdesign.nl\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.terluinwebdesign.nl\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2019\/05\/terluin.png","contentUrl":"https:\/\/www.terluinwebdesign.nl\/en\/wp-content\/uploads\/2019\/05\/terluin.png","width":294,"height":674,"caption":"Terluin Webdesign"},"image":{"@id":"https:\/\/www.terluinwebdesign.nl\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TerluinWebdesign\/","https:\/\/x.com\/terluinwdesign","https:\/\/www.instagram.com\/terluinwebdesign\/","https:\/\/www.linkedin.com\/company\/terluin-webdesig\/","https:\/\/www.youtube.com\/channel\/UCqaaHJh0caCmucUaWsewhKQ"]}]}},"_links":{"self":[{"href":"https:\/\/www.terluinwebdesign.nl\/en\/wp-json\/wp\/v2\/tw-services\/7323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terluinwebdesign.nl\/en\/wp-json\/wp\/v2\/tw-services"}],"about":[{"href":"https:\/\/www.terluinwebdesign.nl\/en\/wp-json\/wp\/v2\/types\/tw-service"}],"author":[{"embeddable":true,"href":"https:\/\/www.terluinwebdesign.nl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terluinwebdesign.nl\/en\/wp-json\/wp\/v2\/comments?post=7323"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.terluinwebdesign.nl\/en\/wp-json\/wp\/v2\/media\/8777"}],"wp:attachment":[{"href":"https:\/\/www.terluinwebdesign.nl\/en\/wp-json\/wp\/v2\/media?parent=7323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}