|
|

06-01-2011, 04:39 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 73
|
|
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)?$
|

06-01-2011, 04:48 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,216
|
|
|
can you post here the whole .htaccess if it's not too long
|

06-01-2011, 04:53 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 73
|
|
Quote:
Originally Posted by NiteWave
can you post here the whole .htaccess if it's not too long
|
http://shamil.la/htaccess.txt
|

06-01-2011, 05:09 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,216
|
|
|
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.
|

06-01-2011, 05:17 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 73
|
|
Quote:
Originally Posted by NiteWave
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?
|

06-01-2011, 07:01 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,216
|
|
|
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.
|

06-01-2011, 09:03 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 73
|
|
Quote:
Originally Posted by NiteWave
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.
|

06-01-2011, 11:24 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,337
|
|
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
...
I seem to having a small issue with LS though.. some pages seem to take quite a while to load, it seems sporadic.
|
|

06-01-2011, 11:41 AM
|
|
Senior Member
|
|
Join Date: Jan 2008
Posts: 73
|
|
Quote:
Originally Posted by webizen
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
|

06-01-2011, 12:14 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,337
|
|
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
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 10:13 PM.
|
|