Skip to content

Leverage flask request context (g object) to cache expensive functions during the lifetime of one request

Notifications You must be signed in to change notification settings

kinano/flask_request_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_request_cache

Leverage flask request context (g object) to cache expensive functions during the lifetime of one request

How do I run this on my local machine?

# Run the application
docker-compose up

# Observe the logs in a separate terminal
docker ps -a # Get CONTAINER_ID
docker exec -ti CONTAINER_ID tail -f /tmp/flask_log.log

About

Leverage flask request context (g object) to cache expensive functions during the lifetime of one request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published