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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LiteSpeed Cache > LS Cache + WordPress

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2011, 04:39 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Default LS Cache + WordPress

Hello,

I'm using imported vhosts via cPanel/LS, and trying to setup LS Cache. Problem is, when adding one particular line to my htaccess file, the thing fails: RewriteRule (.*\.php)?$
Reply With Quote
  #2  
Old 06-01-2011, 04:48 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
can you post here the whole .htaccess if it's not too long
Reply With Quote
  #3  
Old 06-01-2011, 04:53 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by NiteWave View Post
can you post here the whole .htaccess if it's not too long
http://shamil.la/htaccess.txt
Reply With Quote
  #4  
Old 06-01-2011, 05:09 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
rewrite rules from w3total cache take priority in your .htaccess, so the rewrite rule you added won't reach at all.

both w3total cache and lsws cache are page cache to cache wordpress pages, you only need one at a time, not both.
Reply With Quote
  #5  
Old 06-01-2011, 05:17 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by NiteWave View Post
rewrite rules from w3total cache take priority in your .htaccess, so the rewrite rule you added won't reach at all.

both w3total cache and lsws cache are page cache to cache wordpress pages, you only need one at a time, not both.
Which one would you suggest I keep? Which one is better/faster?
Reply With Quote
  #6  
Old 06-01-2011, 07:01 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
I suggest you to keep w3total since it's out of box solution.

lsws page cache is a general cache function, to have it work perfectly with wordpress, need some extra work to customize the rewrite rules.
Reply With Quote
  #7  
Old 06-01-2011, 09:03 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by NiteWave View Post
I suggest you to keep w3total since it's out of box solution.

lsws page cache is a general cache function, to have it work perfectly with wordpress, need some extra work to customize the rewrite rules.
Thanks NiteWave.

I seem to having a small issue with LS though.. some pages seem to take quite a while to load, it seems sporadic.
Reply With Quote
  #8  
Old 06-01-2011, 11:24 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Can you be more specific? is it like a page takes long time at one point and ok at a different time? It could be cache expired, etc.

Quote:
Originally Posted by 04nunhucks View Post
...
I seem to having a small issue with LS though.. some pages seem to take quite a while to load, it seems sporadic.
Reply With Quote
  #9  
Old 06-01-2011, 11:41 AM
04nunhucks 04nunhucks is offline
Senior Member
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by webizen View Post
Can you be more specific? is it like a page takes long time at one point and ok at a different time? It could be cache expired, etc.
Overall, my website just feels a bit sluggish.

Well, I've disabled W3 Total Cache.

What I do, is visit a few pages, using the navigation bar, but once I'm on the Contact Me page, when I try to go back to the home page, the browser sends the request, then it hangs for a bit, then loads the page.

Any ideas?

This happens with or without W3 Total Cache, so it's not that.

website, http://shamil.la
Reply With Quote
  #10  
Old 06-01-2011, 12:14 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
The contact me page shows error as below. However, go back to the home page (http://shamil.la) from that page isn't slow to me. maybe it is user specific issue such as user network, etc.

Quote:
Fatal error: Call to undefined function imagetypes() in /home/shamil/public_html/wp-content/plugins/contact-form-7/modules/captcha.php on line 338
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 03:06 AM.



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