How do I leverage browser caching of .woff fonts?

This is doing the job for me, as Google page speed is no longer asking to fix it. The AddType is essential. # Fonts # Add correct content-type for fonts AddType application/vnd.ms-fontobject .eot AddType application/x-font-ttf .ttf AddType application/x-font-opentype .otf AddType application/x-font-woff .woff AddType image/svg+xml .svg # Compress compressible fonts # only uncomment if you dont … Read more

Why use a service worker for caching when browser cache handles the caching?

Service Workers give you complete control over network requests. You can return anything you want for the fetch event, it does not need to be the past or current contents of that particular file. However, if the HTTP cache handles your needs, you are under no obligation to use Service Workers. They are also used … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)