- you must serve your application over
- you must redirect from
Ensure you have a very restrictive setup for your
Cache-Control headers in place.
Double check that you do not have caching features enabled, especially
immutable, on locations like:
Always re-test and re-assure that the caching for mission critical files is as low as possible if not hashed files or you might invalidate clients for a long time.
Testing your application on production
Once you deploy your application to your server, you can test it using WebPageTest.
There are many test sites, but we suggest you use
WebPageTest as this is the most comprehensive in terms of test:
- First byte time.
- Keep alive enabled.
- Compress transfer.
- Cache static content.
- Effective use of CDN.
- Lighthouse: Core Web Vitals, Performance, Images size optimization...
- And more...
Enter the url of your application, click
Start Test button, wait for the test to finish, the
WebPageTest result will hint you what things on your application must be fixed/changed. The
WebPageTest result will also score your application, it will also test your site with
For example, go to WebPageTest, enter
Start Test button, wait a few seconds for the test to finish, and see the results for this site.