You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the same situation as #669, where I want to enable caching for a slow network drive. The two functions suggested in #669 create a board, and create a folder inside ~/.cache/pins/, but the cache doesn't populate with any files. I've created a reprex repo here with a GitHub action showing that no file get's created after pin_read. Am I misunderstanding when the caching is intended to happen?
Oh yes, you are definitely right. Adding a cache path to the board isn't the only thing that needs to happen. What I said here about this just working is definitely wrong. I'm not sure why I thought that. Apologies to both you and the original poster!
Instead, what we would need to do is to set up board_folder() to act more like board_url(), for example, the caching that is implemented in http_download() here:
First off, thanks for your work on this package!
I'm in the same situation as #669, where I want to enable caching for a slow network drive. The two functions suggested in #669 create a board, and create a folder inside
~/.cache/pins/
, but the cache doesn't populate with any files. I've created a reprex repo here with a GitHub action showing that no file get's created afterpin_read
. Am I misunderstanding when the caching is intended to happen?https://github.com/wklimowicz/pins-bug-no-cache/
The text was updated successfully, but these errors were encountered: