With some help from Litespeed folks, got litespeed's inbuilt cache feature setup to work with vBulletin's boost/varnish plugin - basically just import/install product-boostv1.xml on your vB 3.8.x or vB 4.0.x forums and setup Litespeed cache options in Litespeed admin console and drop in some vB specific .htaccess rewrite code and you're set.
The speed boost for guest visitors is crazy - between >16x to 123x times faster in different apachebench config tests!
Now to retest apachebench with above same settings for requests and concurrency with Litespeed inbuilt cache enabled resulted in Litespeed inbuilt cached tests being up to 721x times faster than Apache, or 91x times faster than Litespeed alone without the inbuilt cache enabled!
Look at the cpu load for cached tests and no php memory usage at all 
Quote:
:: Jan 28th, 2011: Correction to findings
I have to revise my findings a bit for Nginx. The failed requests seem to be from content length varying between apachebench requests and not due to failure requests related to connections/exceptions errors. Content length varies due to dynamic nature of php pages tested as as long as content length reported by apachebench as Document Length is nearly the same, it still means a successfully served request regardless. Full summary here
|

Litespeed admin console cache policy and settings
* need to create cache path directory /lscache
Code:
Cache Storage Settings
Storage Path: /lscache
Max Object Size: 262144
Enable Cache:No
Cache Request with Query String:Yes
Cache Request with Cookie:Yes
Cache Response with Cookie:Yes
Ignore Request Cache-Control:Yes
Ignore Response Cache-Control:Yes
.htaccess used provided vB forum installed in domain/doc root
Code:
RewriteEngine on
RewriteRule test.php - [E=Cache-Control:max-age=45]
RewriteRule hello.php - [E=Cache-Control:max-age=45]
#RewriteCond %{HTTP_HOST} !^www\.domain\.com$
#RewriteRule /forum/(.*)$ http://www.domain.com/forum/$1 [R=301,L]
RewriteCond %{HTTP_COOKIE} !zzimloggedin=yes
RewriteCond %{HTTP_COOKIE} !zzuserid=
RewriteCond %{HTTP_COOKIE} !zzpassword=
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{QUERY_STRING} !s=[a-fA-F0-9]{32}
RewriteCond %{QUERY_STRING} !product=vbnexus
RewriteCond %{REQUEST_URI} !^(login|register|usercp|private|profile|cron|image|search)\.php$
RewriteCond %{REQUEST_URI} !^admincp
RewriteRule ^(.*\.php)?$ - [L,E=Cache-Control:max-age=120]
To confirm Litespeed Cache is working check the file header for X-LiteSpeed-Cache = hit
for index.php header via Firefox Firebug addon
Code:
Content-Encoding gzip
Vary Accept-Encoding
Date Wed, 26 Jan 2011 16:40:00 GMT
Server LiteSpeed
Connection Keep-Alive
Keep-Alive timeout=5, max=100
X-LiteSpeed-Cache hit
Content-Length 6406
X-Powered-By PHP/5.3.5
Content-Type text/html; charset=ISO-8859-1
Cache-Control private
Pragma private
Check /lscache directory contents
Code:
ls -alhR /lscache
/lscache:
total 48K
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 .
drwxr-xr-x 28 root root 4.0K Jan 26 23:28 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 0
drwx------ 3 nobody nobody 4.0K Jan 27 01:44 1
drwx------ 3 nobody nobody 4.0K Jan 27 01:35 2
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 6
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 7
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 9
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 a
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 b
drwx------ 3 nobody nobody 4.0K Jan 27 02:39 e
/lscache/0:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 9
/lscache/0/9:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 8
/lscache/0/9/8:
total 20K
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
-rw------- 1 nobody nobody 9.9K Jan 27 01:45 0987cec6
/lscache/1:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:44 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:44 a
/lscache/1/a:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:44 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:44 ..
drwx------ 2 nobody nobody 4.0K Jan 27 01:44 9
/lscache/1/a/9:
total 12K
drwx------ 2 nobody nobody 4.0K Jan 27 01:44 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:44 ..
-rw------- 1 nobody nobody 201 Jan 27 01:44 1a977843
/lscache/2:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:35 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:35 9
/lscache/2/9:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:35 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:35 ..
drwx------ 2 nobody nobody 4.0K Jan 27 02:39 c
/lscache/2/9/c:
total 16K
drwx------ 2 nobody nobody 4.0K Jan 27 02:39 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:35 ..
-rw------- 1 nobody nobody 6.5K Jan 27 02:39 29c52684
/lscache/6:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 4
/lscache/6/4:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 ..
drwx------ 2 nobody nobody 4.0K Jan 27 01:46 8
/lscache/6/4/8:
total 36K
drwx------ 2 nobody nobody 4.0K Jan 27 01:46 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 ..
-rw------- 1 nobody nobody 25K Jan 27 01:46 6483cafa
/lscache/7:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 1
/lscache/7/1:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 4
/lscache/7/1/4:
total 16K
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
-rw------- 1 nobody nobody 7.0K Jan 27 01:45 714e2f9d
/lscache/9:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 4
/lscache/9/4:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 a
/lscache/9/4/a:
total 20K
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
-rw------- 1 nobody nobody 11K Jan 27 01:45 94a971a0
/lscache/a:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 e
/lscache/a/e:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 ..
drwx------ 2 nobody nobody 4.0K Jan 27 01:39 9
/lscache/a/e/9:
total 20K
drwx------ 2 nobody nobody 4.0K Jan 27 01:39 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:39 ..
-rw------- 1 nobody nobody 8.2K Jan 27 01:39 ae962e7b
/lscache/b:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 8
/lscache/b/8:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 d
/lscache/b/8/d:
total 16K
drwx------ 2 nobody nobody 4.0K Jan 27 01:45 .
drwx------ 3 nobody nobody 4.0K Jan 27 01:45 ..
-rw------- 1 nobody nobody 5.9K Jan 27 01:45 b8d74ed3
/lscache/e:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 02:39 .
drwxrwxrwx 11 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 3 nobody nobody 4.0K Jan 27 02:39 0
/lscache/e/0:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 27 02:39 .
drwx------ 3 nobody nobody 4.0K Jan 27 02:39 ..
drwx------ 2 nobody nobody 4.0K Jan 27 02:39 d
/lscache/e/0/d:
total 12K
drwx------ 2 nobody nobody 4.0K Jan 27 02:39 .
drwx------ 3 nobody nobody 4.0K Jan 27 02:39 ..
-rw------- 1 nobody nobody 201 Jan 27 02:39 e0ddf880
Note: To be able to use Litespeed Inbuilt Cache feature you need >2 cpu Litespeed license. VPS and 1 CPU Licenses don't have the Inbuilt Cache supported.