skip to Main Content

How to enable browser cache on nginx? – Plesk

I tried to analyze web speed with PageSpeed Insights and Google told me that I need to enable cache. So I added to my .htaccess: <IfModule mod_expires.c> <FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|svg|webp|js|css|swf|gz|json)$"> ExpiresActive On ExpiresDefault A604800 </FilesMatch> </IfModule> <IfModule mod_headers.c> <FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|svg|webp|js|css|swf|gz|json)$"> Header…

VIEW QUESTION

How to append JSON response to HTML grid – SEO

How do I append this JSON data to e.g. Grid layout. I'm pulling Google PageSpeed JSON data through following script: function clicked () { const url = document.getElementById('url').value; document.getElementById('urlerror').style.display = 'none'; if (url.indexOf('https://') === -1) { document.getElementById('urlerror').style.display = 'block'; return;…

VIEW QUESTION
Back To Top
Search