Importer reading file from cache #3022
Unanswered
allan-christian
asked this question in
Q&A
Replies: 1 comment
-
Do you have cell caching enabled? https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/config/excel.php#L229 We don't have other caching in this package, perhaps PhpSpreadsheet does something. Just to be sure: have you checked if the contents of the xlsx is actually different? Perhaps there's some file caching on your side (Docker, homestead?) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I have a simple importer that loads some seed data from Excel file:
$filters = (new FiltersImport)->toCollection(storage_path('seed_data/filters.xlsx'));
Everything works great. I've just updated this file and the importer keeps getting the old data.
I even tried to rename the file or delete it, it continues to load the file from the cache.
Is there any way to force it to reload the file?
Appreciate.
Beta Was this translation helpful? Give feedback.
All reactions