خرید بک لینک

Vote count: 0

I have 2 questions regarding cache.

1- I'm using Django rest Framework and I would like to cache one my request and automatically update the cache every minute. I want the user to always use whatever is in cache. Only my server can update the cache not user requests. --> what is the best way to go about it?

2- I'm using django image kit (stored on S3) and my django server is on heroku. what's the best practice to add a cache so my images get cache and it wont hit my s3 storage.

Thanks!

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 11 مرداد 1395 ساعت: 10:40

صفحه بندی