# Script Caching

> What are SCRIPT LOAD and EVALSHA for, how do clients handle a missing script, and how do Redis 7 Functions change the picture?

Canonical: https://www.internhack.in/learn/interview/redis-caching/redis-lua-script-cache
Last updated: 2026-11-28

Difficulty: Advanced

## Question

What are SCRIPT LOAD and EVALSHA for, how do clients handle a missing script, and how do Redis 7 Functions change the picture?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Lua scripting, SCRIPT LOAD, EVALSHA, NOSCRIPT, Redis Functions

Previous: [ZSET Range Query](https://www.internhack.in/learn/interview/redis-caching/redis-zset-range-by-score) · Next: [Pausing Clients](https://www.internhack.in/learn/interview/redis-caching/redis-client-pause) · [All of Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)

## More Redis & Caching questions

- [Memory Fragmentation](https://www.internhack.in/learn/interview/redis-caching/redis-memory-fragmentation)
- [Client-Side Caching (Redis 6+)](https://www.internhack.in/learn/interview/redis-caching/redis-client-caching-tracking)
- [ACLs (Access Control Lists)](https://www.internhack.in/learn/interview/redis-caching/redis-acl-manager)
- [AOF Sync Options](https://www.internhack.in/learn/interview/redis-caching/redis-appendfsync-options)
- [RDB Compression](https://www.internhack.in/learn/interview/redis-caching/redis-rdb-compression)
- [Disabling Replies](https://www.internhack.in/learn/interview/redis-caching/redis-client-reply)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)
