Welcome! Log In Create A New Profile

Advanced

vBulletin caching proxy

October 20, 2010 05:51PM
Hi,

I'm trying to build similar configuration to this one (http://www.vbulletin.com/forum/entry.php?2440-vB4Mance-Part-5-Expert-Level-Boosting-vBulletin-Performance-with-Advanced-Caching) but using nginx. Aparently there is no problem caching static files and php generated css, but websites itselves dont cache.

Here is part config of proxy:
[code]
proxy_pass http://ip:78;
proxy_cache one;
proxy_cache_key $host$request_uri;
proxy_cache_valid 5m;
proxy_cache_methods GET HEAD;
proxy_no_cache $cookie_bb_imloggedin $cookie_bb_password $cookie_bb_userid $nocache;
proxy_ignore_headers X-Accel-Expires Expires Cache-Control;
[/code]
This goes to cache:
http://ls2009.eu:8080/css.php?styleid=7&langid=2&d=&sheet=forumhome_sub_forum_manager.css
This doesn't:
http://ls2009.eu:8080/masz-problem-z-ls-2011/37697-skoszona-trawa.html#post142777

I'm aware of Pragma: private and Cache-control: private, I commented it out from code with no results. Also Cache-control should be ignored. Anu ideas?
Subject Author Posted

vBulletin caching proxy

meto October 20, 2010 05:51PM

Re: vBulletin caching proxy

meto October 22, 2010 06:19AM

Re: vBulletin caching proxy

Maxim Dounin October 22, 2010 06:52AM

Re: vBulletin caching proxy

meto October 22, 2010 06:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 256
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready