โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
โญTop resource to learn Python - https://datacamp.pxf.io/kOjKkV โญ
In this video, we'll learn about caching and how to setup and use Redis in a Django application. We'll touch upon invalidation strategies with Django signals, and the pros/cons of caching.
Starter Code: https://github.com/bugbytes-io/drf-course-api
๐ ๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ๐:
00:00 Intro
00:44 Setting up Redis with Docker
02:01 Setting up Python and Django with Redis
04:12 Caching product list page with cache_page decorator
10:41 Invalidating cache with Django signals
๐ฆ๐ผ๐ฐ๐ถ๐ฎ๐น ๐ ๐ฒ๐ฑ๐ถ๐ฎ:
๐ Blog: https://bugbytes.io/posts/
๐พ Github: https://github.com/bugbytes-io/drf-course-api
๐ฆ Twitter: https://twitter.com/bugbytesio
๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป:
Redis DockerHub: https://hub.docker.com/_/redis
DRF Caching: https://www.django-rest-framework.org/api-guide/caching/
django-redis: https://github.com/jazzband/django-redis
#python #django #webdevelopment #djangorestframework