Welcome! Log In Create A New Profile

Advanced

Re: "X-Accel-Redirect" and Wordpress MU solution

November 28, 2009 03:17AM
@Jeff

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)
[code][b]HTTP/1.1 304 Not Modified[/b]
Server: nginx/0.7.62
Date: Sat, 28 Nov 2009 08:12:07 GMT
Connection: keep-alive
X-Powered-By: PHP/5.2.10-2ubuntu6
Content-Length: 27429
Last-Modified: Sun, 22 Nov 2009 20:58:54 GMT
Expires: Mon, 28 Jan 2013 17:58:47 GMT[/code]

--
Rahul Bansal
EasyEngine - https://github.com/rtCamp/easyengine
Subject Author Posted

"X-Accel-Redirect" and Wordpress MU solution

rahul286 November 27, 2009 03:26AM

Re: "X-Accel-Redirect" and Wordpress MU solution

Igor Sysoev November 27, 2009 03:46AM

Re: "X-Accel-Redirect" and Wordpress MU solution

Jeff Waugh November 27, 2009 04:18AM

Re: "X-Accel-Redirect" and Wordpress MU solution

rahul286 November 27, 2009 01:05PM

Re: "X-Accel-Redirect" and Wordpress MU solution

Rob Schultz November 27, 2009 02:22PM

Re: "X-Accel-Redirect" and Wordpress MU solution

rahul286 November 28, 2009 03:10AM

Re: "X-Accel-Redirect" and Wordpress MU solution

rahul286 November 28, 2009 03:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready