Laravel livewire temporaryUrl
when laravel livewire image temporaryUrl expire ?.
or how to remove image temporaryUrl plz anyone know
Hi there,
You can configuring automatic file cleanup so that those files get deleted.
This temporary directory will fill up with files quickly, therefore, it's important to configure S3 to cleanup files older than 24 hours.
To configure this behavior, simply run the following artisan command from the environment that has the S3 bucket configured.
php artisan livewire:configure-s3-upload-cleanup
Keep in mind that you can set this to run as a scheduled task so that you don't have to run it manually.
Best,
Bobby
but i am not using s3
Hello,
Just found this discussion here. The person there mentioned that the file cleanup for local files is once every 24 hours so I wouldn't expect it to happen right away.
If this does not work, you could set up a cron job to run once a day to clear the files manually.
Best,
Bobby