Django Cache Implementation -


well, i'm designing web application using django. application allow users select photo computer system , keep populating onto users timeline. timeline view have list/grid of photos user has uploaded sorted chronologically, showing 50 photos , pull refresh fetch next 50 photos on timeline.the implementation works multiple users.

now fast user experience of app i'm considering caching. sites store timeline of user onto cache whenever user logs in first place check information request served out of cache , if not available there go db query information.

primarily in 1 line i'm trying cache timelines different users in cache now.

i'm done building of webapp minus cache part. , question how cache timelines of different users??

there big difference between public caching , caching of private data. feel data private , needs different strategy. there nice overview of different ways implement testing and, more importantly, different things need take account: the server side (tom eastman). has part on speed , caching (16:20 onward). explains how use etag , last_modified headers django.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -