Can the rails tmp/cache/assets files be safely deleted?

dsp_099 picture dsp_099 · Jun 7, 2013 · Viewed 7.2k times · Source

I seem to have a TON of them in subfolders named for example

sprockets%2F76920e6913c3390459175ac8e6dfd44a3

They seem to contain binary data.

What are they for, why are there so many of them and most importantly, can these be safely removed? They take forever to scp.

Answer

Eric Wood picture Eric Wood · Jun 7, 2013

Yep! You can delete the whole tmp directory and it will get recreated.