Example code used to show the effects of TTFB and ways to solve them. In this case using Varnish to create a cache layer.
To run the demo, once you have downloaded the code to your computer, you must have Docker Compose installed.
Then we create the virtual machines with the command:
docker-compose up
Then open your browser. You can access the non-cache version of the website through the address:
http://localhost:8080
And access the cached version of:
http://localhost:8081
You can find out more about TTFB from the Seocom blog post:
https://seocom.agency/es/blog/que-es-el-time-byte-afecta-en-los-resultados-de-google/
More information and videos about SEO, SEM/PPC and WPO on Seocom's Youtube channel: