Redis Cache Demo
Rename config.yaml.template file to config.yaml
Remember, by default, redis starts with db:0 and user: default.
Unless you specifically create a new one.
Navigate to
http://127.0.0.1:8000
Now call http://127.0.0.1:8000/film/1
The request will be made from MySQL
Refreshing it again, it will be from Redis.
Check the Time taken to load the data.
Last updated