"X-Accel-Redirect" and Wordpress MU solution
nginx-forum at nginx.us
Sat Nov 28 11:17:27 MSK 2009
I moved ur patched codes (for blog.php) file towards the end - just before readfile() function and it worked much better.
Earlier files were being served through nginx server every time since we were making exit before "Conditional GET" codes.
Now with this change I am able to get "304 Not Modified" as per my expectation (example you can see below)
HTTP/1.1 304 Not Modified
Date: Sat, 28 Nov 2009 08:12:07 GMT
Last-Modified: Sun, 22 Nov 2009 20:58:54 GMT
Expires: Mon, 28 Jan 2013 17:58:47 GMT
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,25901,26206#msg-26206
More information about the nginx