Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any way to configure nginx to use memcache for storing cache data, as opposed to using files stored on hard drive?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

The Nginx HttpMemcachedModule allows the use of Memcached as storage, but does not store HTTP headers with data - all pages served via Memcached storage have the default Content-Type and do not honor Last-Modified/If-Modified-Since headers and proper 304 Not Modified header.

The Enhanced Nginx Memached Module is based on the standard module and has additional features which include storing HTTP headers together with data honoring the required HTTP headers.

share|improve this answer

Probably with HttpMemcachedModule.

Also, consider the StackOverflow thread title "How to configure NGINX with Memcache to serve HTML"

400% improvement? Yes please.

share|improve this answer

Your Answer

 
discard

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.