I'm continuing to test LiteSpeed and LSCache to see if we can replace our existing Varnish setup and have run into some issues while trying to use the ESI features.
I have a file called includetest.html containing the following:
The PHP script does some API calls to a system we have and outputs a number. However, this isn't applicable here as I can't get it working, with "No ESI" shown when accessing includetest.html
I have turned on ESI processing in htaccess as per the docs ( http://blog.litespeedtech.com/2014/...ill-speed-up-web-applications/comment-page-1/ ) :
On a separate note, when ESI is enabled in the htaccess file as shown above, our main website (powered by Wordpress) doesn't work. When an uncached version is requested, we get all kinds of garbled characters outputted to the browser as shown in the attached screenshot.
OS: Centos 6.6 64bit
LS Enterprise version: 5.0.13
PHP version (lsapi): 5.5.26
Any thoughts? Is this a bug?
I have a file called includetest.html containing the following:
Code:
<esi:remove>
No ESI
</esi:remove>
<esi:include src="/path/to/phpscript.php" />
I have turned on ESI processing in htaccess as per the docs ( http://blog.litespeedtech.com/2014/...ill-speed-up-web-applications/comment-page-1/ ) :
Code:
RewriteRule .? - [E=esi_on:1]
On a separate note, when ESI is enabled in the htaccess file as shown above, our main website (powered by Wordpress) doesn't work. When an uncached version is requested, we get all kinds of garbled characters outputted to the browser as shown in the attached screenshot.
OS: Centos 6.6 64bit
LS Enterprise version: 5.0.13
PHP version (lsapi): 5.5.26
Any thoughts? Is this a bug?
Attachments
-
109.9 KB Views: 4