# SSI with MEMCACHED down

**URL:** <https://www.ruby-forum.com/t/ssi-with-memcached-down/142839>\
**Category:** NGINX\
**Created:** [July 11, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/ssi-with-memcached-down/142839 "2008-07-11T23:54:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vchav](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/13edae/32.png) [@vchav](https://www.ruby-forum.com/u/vchav)\
**Post date:** [July 11, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/ssi-with-memcached-down/142839/1 "2008-07-11T23:54:14Z")

</div>

Hi,

I made several test on my servers to use memcached with ssi and so make  
my web application faster. It’s really a great improvement and I’m glad  
to use it but…

I think I have a problem when the memcached server is not available.  
Take for example the case of a page where all content is static except  
the login form (one ssi include). When I try to login, the session is  
created and the same page is reloaded (by 302 status code).

GET /welcome HTTP/1.1  
[…]  
If-None-Match: “bcd6238b4e25ae68306cd8d412ccd96d”

HTTP/1.x 304 Not Modified  
[…]  
Etag: “bcd6238b4e25ae68306cd8d412ccd96d”  
Content-Length: 0

I awaited â€œWelcome Vincentâ€ but the login form is always present… The  
SSI has not done its job? It’s only when I remove browser cache that  
works fine.

GET /welcome HTTP/1.1  
[…]  
Pragma: no-cache  
Cache-Control: no-cache

HTTP/1.x 200 OK  
[…]

How I can get round this problem ?

Thanks again and sorry for my bad english 🙂

---

<div class="post-metadata">

**Author:** ![vchav](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/13edae/32.png) [@vchav](https://www.ruby-forum.com/u/vchav)\
**Post date:** [July 14, 2008, 1:36am UTC](https://www.ruby-forum.com/t/ssi-with-memcached-down/142839/2 "2008-07-14T01:36:53Z")

</div>

Hi Benoit,  
I have exactly the same probleme as you, and i don’t know hw to resolve  
it.  
Please help us.  
Thanks in advance.

Vincent Chavelle

---

<div class="post-metadata">

**Author:** ![vchav](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/13edae/32.png) [@vchav](https://www.ruby-forum.com/u/vchav)\
**Post date:** [July 14, 2008, 2:02am UTC](https://www.ruby-forum.com/t/ssi-with-memcached-down/142839/3 "2008-07-14T02:02:04Z")

</div>

Sorry, I’m very very tired because i confused my name and yours.  
And I drank a little tonight.

Benoit 😉
