Jump to content

Google PageSpeed Insights problem


Recommended Posts

The tool told me to use browser caching for /www/delivery/asyncjs.php (60 minutes)

I added the following code to my .htaccess file and Page Speed Insights is happy and gives me a higher score:

<Directory "/www/delivery/asyncjs.php">
<Files "asyncjs.php">
ExpiresActive on
ExpiresDefault "now plus 1 hour"
</Files>
</Directory>

But with this optimization I don't see any banners ... If I remove it I see the banners but Page Speed Insights told me to use browser caching.

What's the mistake or is it not possible to use browser caching for the file asyncjs.php?

Best regards

tobean

Link to comment
Share on other sites

  • 11 months later...

Wie Eric weiter oben geschrieben hat, kann man dafür kein Browser Caching nutzen.

Generell würde ich Google-Empfehlungen eher geringe Bedeutung beimessen. Die verlangen von Webmastern gerne 1.000 Sachen, die Sie selbst nicht einhalten auf Ihrer eigenen Seite, oder morgen wollen sie ganz was ganz von Dir wie AMP etc. und https ist dann doch kein Ranking-Kriterium mehr. Schau Dir nur mal die gefühlt 1.000 Syntaxfehler im Adsense-Code, die dir auch jeder Validator um die Ohren haut. So wird man als Unternehmen generell unglaubwürdig ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...