Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is my understanding that nginx can query memcached for data that it serves, but you have to place them there using some other (homegrown) program. So the question is, can I have nginx fetch data from the backend and place them into memcached for future use for certain locations? Sort of not having to place all files from /images in it "by hand" but having them (mem)cached after being fetched for the first time?

Any backend other than memcached would suffice also.

share|improve this question
up vote 0 down vote accepted

As the page you linked to states, the backend (your application) must put the data into memcached.

share|improve this answer
Thank you. I am hoping for someone who has expanded the module and have nginx do that in a more generic way. If none, I'll give it a shot. – adamo Jun 25 '13 at 21:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.