- Check with
$debug = false;
$debug = false;
- Check url in
parameters.yml
- Check e-mail addresses and smtp mail settings
- Check 404 page (and other lose pages)
- SSL and http/2
- Clear cache
- Check website
- ImageOptim
- PageSpeed Insights (link)
- SEO
- Put details in Google Sheets
Well... we only need a couple of icons, so loading in a selected set of icons would be better instead of the whole library. To be continued...
Don't forget to minify (or re-minify after changes) the javascript files.
Background image:
<div class="b-lazy" data-src=""></div>
Image:
<img class="b-lazy" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="">
You can also add data-src-small=""
but it's optional
-
Always try to use
https://
or//assets.site.tld
(the last one uses the http(s) protocol of the website) -
For css, load it in the deferred stylesheets part of Head.html.twig:
<noscript id="deferred-styles"> ... </noscript>
-
For javascript, load it defferred:
<script defer src=""></script>
When activating SSL, try enabling https/2 for speed gain (the assets of this Fork theme or optimized for https/2)
You can enable this in my.combell.be
of the hosting package under "Site instellingen > http/2"
Also enable GZIP compression in the general tab of "Site instellingen > algemeen"
ImageOptim the theme images and /src/Frontend/Files
folder from the server (the live files)
Add this to the .htaccess: (always test this!)
This removes the cookies from al the loaded assets for page speed gains.
# file caching in browser
<IfModule mod_expires.c>
ExpiresActive On
<FilesMatch "\.(?i:ico|gif|jpe?g|png|svg|svgz|js|css|swf|ttf|otf|woff|eot)$">
ExpiresDefault "access plus 12 montsa"
RequestHeader unset Cookie
Header unset Cookie
Header unset Set-Cookie
</FilesMatch>
</IfModule>
- Add a good general page title
- Change the page title (so it doesn't have home in it)
- Add a meta description (for the serp)