Inori
2011-06-18 06:38:14 UTC
What I have:
2 computers on LAN, web server on one of them, to which I have access
from both computers via 192.168.0.100.
Symfony2 which uses reverse proxy cache with e-tag.
app.php: http://pastebin.com/hupi9bYN
controller code: http://pastebin.com/7mWSt3jv
Caching itself works fine (I go to the page from one computer 1st
time: "200 OK" response; I refresh: "304 Not modifed").
What I fail to understand:
After having my content cached via computer one, I try to open the
same page from second computer, but response is again "200 OK". The
way I understood reverse proxy is that it should return "304 Not
modified" for my second computer even on 1st try..
Am I doing or understanding something wrong?
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony-users+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
2 computers on LAN, web server on one of them, to which I have access
from both computers via 192.168.0.100.
Symfony2 which uses reverse proxy cache with e-tag.
app.php: http://pastebin.com/hupi9bYN
controller code: http://pastebin.com/7mWSt3jv
Caching itself works fine (I go to the page from one computer 1st
time: "200 OK" response; I refresh: "304 Not modifed").
What I fail to understand:
After having my content cached via computer one, I try to open the
same page from second computer, but response is again "200 OK". The
way I understood reverse proxy is that it should return "304 Not
modified" for my second computer even on 1st try..
Am I doing or understanding something wrong?
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony-users+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en