存储html模板的最佳方式(Laravel 5)

I'm building an app where the user is able to load some html template and modify it. So i need to store the base html template and the modified one.

I was naturally going to store the html in the database as TEXT (mysql). But i read here and there that this make the database very slow and we should store it as a file.

Any thought on that case while using Laravel 5 ? How should i store HTML template in Laravel ?

You could use Redis. Should be faster than MySQL, although I don't think it will be suitable for very large amounts of data. If you have a laracasts Account, their series "Learn Redis through examples" will give you a kickstart.