What is a Lua Cache?

Just wondering because I see hundreds of encrypyted lua files in my garrysmod/cache folder and not sure what the purpose or where they come from. I think they come from a server whenever you join one but do you always get them back if you delete them?

This is no longer used as of GM13.


I still keep getting lua caches though.

Oh, I thought you meant FastDL lua caches. Lua cache files are used to execute clientside code from a server. You can delete them with no repercussions.

Ah, thank you!

I had about 13,000 of them and figured I might as well delete them all and then if I join the server that I play on then the folder will only contain the ones from just that server and none of the other servers I’ve joined in the past.