Google PageSpeed Lowered

Hey guys,

I’m very new to this whole unmanaged VPS thing. So please bear with me a little.

In the past, my site is hosted with a managed VPS hosting company and my Google PageSpeed scores were 100/100 for both mobile and desktop. But ever since moving to DO last night, it has reduced to 77 and 83 for mobile and desktop respectively.

Old server PageSpeed:

Current PageSpeed with DO:

I believe the speed reduction is because of caching issue which, for the life of me, don’t know how to solve even after reading the tutorial here:

Can some kind souls out there help, please? Thanks!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hey, <br> <br>I managed to solve the problem. What I did was I enabled ‘expires’ in Apache. <br> <br>Thanks, guys! :)

Looks like there’s no way to put the lesser and greater than signs without them being eaten up. Anyway, here are the 2nd line (after the ## EXPIRES CACHING ## ): <br> <br>IfModule mod_expires.c <br> <br>and here’s the 2nd last line (before ## EXPIRES CACHING ##): <br> <br>/IfModule <br> <br>Both lines are closed with the lesser and greater than signs.

Ah, the lines still got eaten up! I hope you guys know what I’m talking about. Let me give it a last shot. Here you go: <br>‘<IfModule mod_expires.c>’ <br>‘</IfModule>’