tobean Posted January 10, 2017 Report Posted January 10, 2017 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 Quote
Erik Geurts Posted January 10, 2017 Report Posted January 10, 2017 Google Page Speed Insights obviously has no clue about dynamic content like ad servers... No, you can not cache that file, it should be called anew every single time. Quote
tobean Posted January 10, 2017 Author Report Posted January 10, 2017 Thank you, Erik. Indeed this tool is not perfect but Google defines what is good or not ... Quote
tomtank Posted December 14, 2017 Report Posted December 14, 2017 Hi sorry dass ich den alten Thread wieder hervorhole, aber was hast du denn gemacht um das Problem zu lösen? Ich habe aktuell das selbe Problem, dass Google sagt, ich soll doch für asyncjs.php Browser Caching nutzen... Grüße Quote
tobean Posted December 15, 2017 Author Report Posted December 15, 2017 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 ... Quote
tomtank Posted December 15, 2017 Report Posted December 15, 2017 @tobean alright, thank you. Just wanted to look, if there is maybe already a solution for it. Thanks Quote
Recommended Posts
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.