0
  1. Using python(fastcgi),lighttpd,sqlite3 for server
  2. Update data of sqlite3 every weekend.
  3. Thats means, every user get the same data from server before weekend,and server query database for every user's request. My question is: Is there any way to cache data for users,server using cache data to response all users before updating data,not query database every time. Like using a global variable for a week,until update it.

1 Answer 1

1

You can use a cache such as memcached to store it once retrieved.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.