DISQUS

Community Page on DISQUS

what is this?

DISQUS Blog and Forum

The official Disqus forum. This is the place to receive beta support and offer suggestions.
Jump to original thread »
Author

MintCache (simple version)

Started by Daniel Ha · 7 months ago

MintCache is a caching scheme Disqus has recently implemented. We posted Disqus’ implementation of MintCache for others to use.

From the original MintCache posting:
The purpose of this caching scheme is to avoid the dog-pile effect. Dog-piling is what normally happens when your data for the cache takes more time to generate than your server is answering [...] ... Continue reading »

9 comments

  • I would be interested to know why you use this (simple version) instead of the original MintCache.
  • We found the original hard to understand. This version is also decoupled from the cache backend that you use.
  • I'm the author of the original mint cache and completely agree that this implementation is a very nice improvement. ( the original was written under duress! ) Kudos, guys!
  • Thanks, Glenn! Sharing code is a beautiful thing. In case you're interested, one other feature we are considering adding is a "delete" method that merely lowers the timeout on the cached value (instead of truly deleting it), thereby triggering the mint refresh. That way one could avoid the dogpile effect when manually invalidating.
  • Have always had problem with caching with my hosting account at GoDaddy especially when implemented with Wordpress which is what I use. Was thinking of checking it out myself, but never got around to it.
  • i tried to install this snippet but got some errors.
    anybody like me ?
  • Yes, it helps shorten the loading time.
  • It's loading pretty fast alright. I think the ISP and the browser plays a part as well.
  • MintCache is awesome ! I guess the simpler version will be easier to use especially for users like me . Thanks for the useful information and links.

Add New Comment

Returning? Login