LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LSWS 4.1 Release > 4.0b1 packages

Reply
 
Thread Tools Display Modes
  #21  
Old 05-13-2008, 10:47 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Quote:
Originally Posted by jkeegan View Post
Is the cache function enabled for VPS licenses?
No, require a 2-CPU license at the minimum.
Reply With Quote
  #22  
Old 05-13-2008, 01:31 PM
jkeegan jkeegan is offline
Member
 
Join Date: Nov 2007
Posts: 17
Quote:
Originally Posted by mistwang View Post
No, require a 2-CPU license at the minimum.
Is there any way to upgrade my VPS license temporarily to a 2 CPU license? I'd really like to see if the caching makes a performance difference... If it does, great, I will stick with the 2 cpu license. If not, then I would like to revert back to the VPS license....

Is there any way to do that or is it too much of a hassle on your end?
Reply With Quote
  #23  
Old 05-13-2008, 01:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You can use the trial key to give it a try.

If you use LSWS with Apache httpd.conf, you need to wait for our beta 2 release in order to control the cache through httpd.conf and .htaccess.
Reply With Quote
  #24  
Old 05-13-2008, 07:25 PM
Marcus Marcus is offline
Senior Member
 
Join Date: Feb 2007
Posts: 69
Will the cache functions be available on the standard (i.e. free) versions of Litespeed? If they will be limited, how will they be limited?
Reply With Quote
  #25  
Old 05-13-2008, 07:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Quote:
Originally Posted by Marcus View Post
Will the cache functions be available on the standard (i.e. free) versions of Litespeed? If they will be limited, how will they be limited?
Not available.
Reply With Quote
  #26  
Old 05-13-2008, 09:46 PM
jkeegan jkeegan is offline
Member
 
Join Date: Nov 2007
Posts: 17
Quote:
Originally Posted by mistwang View Post
You can use the trial key to give it a try.
OK, I did that and restarted LSWS. I moved license.key to license.key.original and replaced it with the trial key and restarted lsws.

Control panel reports 14 days left on my license, so I must have the new key.

I created a directory at /opt/lsws/cache and set it to be owned by apache.apache.

I enabled the cache in the control panel and I accessed pages on the server but I don't see any files being created at /opt/lsws/cache and I don't see any increased in speed...

What do I need to do to enable the caching function?
Reply With Quote
  #27  
Old 05-14-2008, 05:05 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You need to find out which page is cacheable and cache friendly (does not change frequently).
Please check response header with Firebug looking for "Cache-control", if it does not allow caching the page, then that page is not cache friendly.

As I know, vBulletin is not very cache friendly, but some pages can be forced to be cached for a little while by setting " Ignore Response Cache-Control" to yes.
Reply With Quote
  #28  
Old 05-14-2008, 08:58 AM
jkeegan jkeegan is offline
Member
 
Join Date: Nov 2007
Posts: 17
Quote:
Originally Posted by mistwang View Post
You need to find out which page is cacheable and cache friendly (does not change frequently).
Please check response header with Firebug looking for "Cache-control", if it does not allow caching the page, then that page is not cache friendly.

I just added a static html page to the site, and requested it multiple times. I don't see any files in the cache folder... Firebug confirms that there are no cache-control headers being sent. I must be missing something because I can not find any evidence that the server is creating files in the cache folder...
Reply With Quote
  #29  
Old 05-14-2008, 11:24 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
cache has no effect on static file, only dynamically generated page will be cached.
Reply With Quote
  #30  
Old 05-14-2008, 11:40 AM
jkeegan jkeegan is offline
Member
 
Join Date: Nov 2007
Posts: 17
Quote:
Originally Posted by mistwang View Post
cache has no effect on static file, only dynamically generated page will be cached.
I also have a Wordpress blog on this server that I have been hitting, and all those pages are dynamically generated, but still nothing in the cache dir... I have Ignore Request Cache-Control and Ignore Response Cache-Control set to Yes.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:41 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.