Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETag as cache key can lead to issues #105

Open
tmaier opened this issue Jul 10, 2023 · 1 comment
Open

ETag as cache key can lead to issues #105

tmaier opened this issue Jul 10, 2023 · 1 comment

Comments

@tmaier
Copy link
Member

tmaier commented Jul 10, 2023

In my specific use case, I am using the Moneta with the :File Moneta.new(:File, dir: Rails.root.join(...))

I receive a Errno::ENAMETOOLONG: Filename too long @ rb_sysopen error

I would like to suggest to not use the raw ETag directly, but to generate a hash out of it.

@geemus
Copy link
Member

geemus commented Jul 13, 2023

@tmaier - That makes sense, I suspect we just didn't happen to run into this. I'm not really actively working on or around this project at the moment though. Hopefully others who are more active can speak to whether they might have capacity to do this or support someone else in doing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants