Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cachein django

given a URL, try finding that page in the cache

if the page is in the cache:
   return the cached page
else:
   generate the page
   save the generated page in the cache (for next time)
   return the generated page
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #cachein #django
ADD COMMENT
Topic
Name
5+7 =