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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Cache and Eaccelator

Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2009, 11:19 PM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Default Cache and Eaccelator

I have installed eaccelator on my server and its work good.
I have cache on Configuration -> Sever -> Cache enabled too.
Is it good for my server?
Reply With Quote
  #2  
Old 04-08-2009, 05:07 AM
Michael.Terence Michael.Terence is offline
Member
 
Join Date: Jan 2009
Posts: 28
Did you set your cache location? Have you checked that lsws is writing to the cache location you specified?

If so, all should be good.

Random comment...I've never been able to get cacheing and wordpress + wp-super-cache working properly.
Reply With Quote
  #3  
Old 04-08-2009, 05:27 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Eacc directory is: /dev/shm/eaccelerator
Litespeed Cache: /tmp/cache/

is it good?
Reply With Quote
  #4  
Old 04-08-2009, 05:39 AM
Michael.Terence Michael.Terence is offline
Member
 
Join Date: Jan 2009
Posts: 28
Quote:
Originally Posted by masood_y View Post
Eacc directory is: /dev/shm/eaccelerator
make sure that all users php can run as has rw permissions to that directory. here's the output from my working environment (you should see the same thing)
Code:
web1 /dev/shm/eaccelerator: ls
0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
Quote:
Originally Posted by masood_y View Post
Litespeed Cache: /tmp/cache/
Here, make sure the users lsws is running as has rw access to the dir.
Output from my server... look for random numbers/letters. if it's empty cache isn't working due to configuration or permission issues.
Code:
web1 /dev/shm/lsws_cache: ls
2  7  8  d
Reply With Quote
  #5  
Old 04-08-2009, 10:23 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
I remember reading that the Cache function is not recommended for dynamic content. Check the http header for Cache-Control to see if it'll work or not. Also, on a wordpress blog they said that wp-super-cache does not play well with other cache.
Reply With Quote
  #6  
Old 04-08-2009, 10:55 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Quote:
Originally Posted by Michael.Terence View Post
make sure that all users php can run as has rw permissions to that directory. here's the output from my working environment (you should see the same thing)
Code:
web1 /dev/shm/eaccelerator: ls
0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
Here, make sure the users lsws is running as has rw access to the dir.
Output from my server... look for random numbers/letters. if it's empty cache isn't working due to configuration or permission issues.
Code:
web1 /dev/shm/lsws_cache: ls
2  7  8  d
I know this, i just need to know there is no conflit between eacc and litespeed cache.
Reply With Quote
  #7  
Old 04-08-2009, 10:59 AM
Michael.Terence Michael.Terence is offline
Member
 
Join Date: Jan 2009
Posts: 28
no, one is an opcode cache that caches the compiled state of the php scripts, and one is an output cache that caches the entire output that will be sent to the client(s).

They work well together.
Reply With Quote
  #8  
Old 05-13-2010, 03:31 AM
patrick076 patrick076 is offline
New Member
 
Join Date: May 2010
Posts: 1
i am using SQL on my server but i have got my whole database corrupted and lost what is the reason i was using very tight security system
__________________
PATRICK THOMSON
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 06:39 PM.



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