Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9252505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:57:40+00:00 2026-06-18T10:57:40+00:00

I followed https://developers.google.com/appengine/docs/python/memcache/usingmemcache , and got memcached work. but I have a problem when

  • 0

I followed https://developers.google.com/appengine/docs/python/memcache/usingmemcache, and got memcached work.

but I have a problem when I try to update cache before it expires.
for example, after:

"memcache.add('key', data, 60000000000)"

if I want to update the information stores in “key”

I was hoping there was an API of

“memcache.update(‘key’, newData, 60000000000)” (NO)

I tried to add again:

“memcache.add(‘key’, newData, 60000000000)”

but it doesn’t work. It didn’t replace the previous one.

Anyone can give me some ideas how to do it?

I know there is a

“memcahed.flush_all()”

But it flush the whole cache.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:57:42+00:00Added an answer on June 18, 2026 at 10:57 am

    Use memcache.set('key', data, 60000000000) to set the value, regardless of previous contents in cache. See:

    https://developers.google.com/appengine/docs/python/memcache/functions

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followed the Google Apps Script JDBC example shown at https://developers.google.com/apps-script/jdbc but have been
I have just followed this tutorial ( https://developers.google.com/maps/documentation/android/start#getting_the_google_maps_android_api_v2 ) to present the Google Maps.
I have followed this tutorial on Google https://developers.google.com/google-apps/marketplace/tutorial_php to create a marketplace app for
I followed steps here: https://developers.facebook.com/docs/guides/mobile/#android but I really don't get how use Graph API
I have followed these instructions: https://developers.google.com/console/help/#generatingdevkeys/ . I registered the freebase service and added
I had followed the instructions in https://developers.google.com/native-client/devguide/tutorial#verify However, it seems all the examples are
I followed https://developers.google.com/web-toolkit/articles/mvp-architecture . In their model, they use one class 'Contact' and a
I followed the tutorial here https://developers.google.com/bigquery/articles/dashboard#enablebigqueryapi and created a sample application to query Google
I followed the tutorial here: https://developers.facebook.com/docs/mobile/android/build/#enablesso I am able to authenticate on the android
I followed https://docs.djangoproject.com/en/dev/ref/contrib/flatpages/ and I created a flatpage using my own template in http://localhost:8000/about-me/

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.