Skip to content

View not found in Laravel when I cache the views #106

Open
@nonghinh

Description

@nonghinh

Before I deployed the Larvel project to serverless, I used the command: php artisan view:cache
After deploying on Lambda I get "View not found" error
I checked the directory /tmp/storage/framework/views and it doesn't have any files.
I use CACHE_DRIVER=dynamodb
If I don't cache the view, there's no problem, but I want to cache the view to make the app more optimized.
Can someone help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions