Information: https://whatismybrowser.com/w/KE8Y5Y4
Problem: The website I’m hosting on a droplet takes between 1.15 and 1.5 seconds to load after inactivity. It only takes between 200 to 500 milliseconds afterward. Is there a way to consistently load the website in 1 second or less after inactivity?
What I have tried:
The droplet contains a static website with 9 images - less than 300 kb.
No JavaScript functions, no database access, and no complicated code.
The website scores 100 on PageSpeed Insight and 99 on Pingdom.
I’m very new to web development, so I don’t know whether this is due to my configuration or Digital Ocean.
Could someone please help point me in the right direction?
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!
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.
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.
Hello,
Usually, if you are getting 100 page speed score and 99 on Pingdom there should not really be any further need for optimization. Can you confirm how exactly are you testing your website speed?
Have you tried testing the website speed without the CDN enabled?
Best, Bobby