your website is very large with lots of pages and files
you need to have dynamic content on your website
For the first situation, please check this:
For the second situation you can use something like firebase, or if you want to avoid vendor lock-in, an open source equivalent (shameless plug: I’m working on diskette which is my attempt to solve all my dynamic data problems).