Php 在我的Laravel应用程序中找不到缓存文件,如何解决这个随机出现的问题?

Php 在我的Laravel应用程序中找不到缓存文件,如何解决这个随机出现的问题?,php,laravel,caching,laravel-5,Php,Laravel,Caching,Laravel 5,我在我的应用程序中随机得到这个问题 ErrorException in Filesystem.php line 81: file_put_contents(/usr/share/nginx/www/my_application/storage/framework/cache/05/da/05da7b09ff2f176f41f594275e03d8fe): failed to open stream: No such file or directory in Filesystem.php line

我在我的应用程序中随机得到这个问题

ErrorException in Filesystem.php line 81:
file_put_contents(/usr/share/nginx/www/my_application/storage/framework/cache/05/da/05da7b09ff2f176f41f594275e03d8fe): failed to open stream: No such file or directory
in Filesystem.php line 81

我试着用谷歌搜索,但什么也没找到。当我检查服务器时,我可以在那里找到一个文件

删除所有文件。它将在运行应用程序时自动创建。

这是长期解决方案吗?