Litespeed cache bug?

Mikra

Active Member
#1
I want to cache all pages that are served by index.php. So I added this to my htaccess:
RewriteRule ^index.php - [L,E=cache-control:max-age=120]

When I do that. The first time I load the page, it takes +- 5 seconds (it's a very slow index.php, so that's normal).
When I load it the second time I get the page in just a couple of milliseconds.
When I load for a 3rd time I get a white page, no more content.
The only way to get rid of that white page is to completely empty the cache folder. When I do that. It all works as described above.

So it looks like the cache can only be served 1 single time. After that something goes wrong.

I'm using LSWS 5.0 RC3
 

Mikra

Active Member
#2
This is what I get in my error log when I get the white page:
Code:
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] NtwkIOLink::suspendRead()...
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] CacheKey data: URI [/index.php?route=common/home], QS [], Vary Cookie [], Private Cookie [], IP [10.1.4.19]
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] Public Cache Hash: [b125409d99839aff], Private Cache Hash: [f6c8ed57237bdb6e]
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] Check private cache, with private cookie[], ip [10.1.4.19], cacheEntry: (nil)
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] processContextPath() return 0
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] CacheKey data: URI [/index.php?route=common/home], QS [], Vary Cookie [], Private Cookie [], IP [(null)]
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] Public Cache Hash: [b125409d99839aff], Private Cache Hash: [f6c8ed57237bdb6e]
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] Request is in public cache.
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com] run cache processor.
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] HttpSession::flush()!
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] flushBody() return 0
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] NtwkIOLink::flush buffered data ...
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] NtwkIOLink written: 341
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] set HSF_RESP_FLUSHED flag.
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] endResponseInternal()
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] HttpSession::flush()!
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] flushBody() return 0
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] mark COMPLETE.
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] NtwkIOLink::continueWrite()...
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] write resumed!
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] processNewReq() return 0.
2015-03-19 09:07:15.834 [DEBUG] [10.10.1.1:42079-5#APVH_dev.testsite15.com:cache] HttpSession::nextRequest()!
 
Top