richwklein.com » Improving Django Cache – Part II »

Posted By richwklein 3 months, 3 weeks ago in Science & Technology

In part I of this series we setup a custom django cache backend based on the current memcached implementation. For the second installment in this series we are going to start modifying our custom cache backend.

Memcached has a couple of limitations it sets on keys. Currently the length limit of a key is set at 250 characters and the key must not include control characters or whitespace. These limitations can be a problem when dealing with long permalinks or rendered template nodes. First thing we need to do is create a method that will fix keys.

Read Full Story at richwklein.com »

100 Views Share Story 0 Comments Report

Submitted By:
richwklein

I am a Senior Software Engineer at Propeller.com. I come from a manufacturing/logistics background, but I've spent the last several years working ...

Who Also Submitted:
Other Related Articles:

RSS Join the Discussion

+ Add Comment
Comments So Far: 0 (view all)
- Display

Add a Comment

Sign In With Your Propeller Account

Forgot your password?

Please keep your comments relevant to this story.

To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br /> tags.

More News

Submit a Story

Advertisement

Story Tags ?

key limitations 250 cache method keys length set part limit fix takes characters django memcached improving

Hey! If you Sign In, you can add tags to this story!

Also Dropping This Article

No one has dropped this story.

Also Submitted By

No one else has submitted this story.