Hai Zheng?
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Bug with ESI blockIf you can create a test server, please create a tix so we can debug on it. Thanks.
Forum: Plugins
In reply to: [LiteSpeed Cache] Bug with ESI blockIn
<xesi:include src="/?lsesi=esi_postcode_form_block&_control=private%2Cno-vary&esi=eyJpZCI6InNjLWZiZi1yZWctdHlyZS1zZWFyY2gtLXNpemUtcG9zdGNvZGVfIiwidHlwZSI6InNpemUiLCJjbGFzc2VzIjoic2MtZmJmLXJlZy10eXJlLXNlYXJjaF9fZm9ybS1maWVsZCJ9&_hash=4a42890678f96addcbbb029192abaeca" cache-control="private,no-vary"> <label for="sc-fbf-reg-tyre-search--size-postcode_" class="control-label"> <span class="floating-label">Postcode</span> </label></xesi:include>
I think you can see something is wrong.
<esi:include />
is a self closed tag. How can it has alabel
content output inside?Forum: Plugins
In reply to: [LiteSpeed Cache] Bug with ESI blockYour 2nd log without the code change seems fine? It doesn’t have the whole HTML output but
<input
part only. I assume that is as expected?For your 1st log, what if you visit that link directly? Will it show the ESI content as expected?
Forum: Plugins
In reply to: [LiteSpeed Cache] Bug with ESI blockChange https://github.com/litespeedtech/lscache_wp/blob/master/src/esi.cls.php#L478
<esi
to<xesi
to break ESI parser, then see what the output is.Also, you can check debug log, what did it tell in the ESI include part?
Forum: Plugins
In reply to: [LiteSpeed Cache] Bug with ESI blockCan you try latest v5.7-a17? There is a bugfix for ESI block which may show whole page html
Thanks for the report. This is patched in v5.6.1-a7 as well.
Forum: Plugins
In reply to: [LiteSpeed Cache] LSWCP_TAG_PREFIX – bug when multisiteYou need to append the blog id like https://github.com/litespeedtech/lscache_wp/blob/ce40aeeeeeae579e0f98d4fe0dbb2f8ad9fb4af5/src/purge.cls.php#L1070
Forum: Plugins
In reply to: [LiteSpeed Cache] Plugin update has reset image optimization dataPlease try latest dev commit from Beta Test.
We fixed couple image optimization compatibility issues in latest dev.
Can you try latest dev commit from Beta Test? There are couple image optimization compatibility improvements done there.
Forum: Plugins
In reply to: [LiteSpeed Cache] 5 million rows in wp_litespeed_img_optmWhen you do optimization, it will remove db records gradually until done.
what is your secure upload folder?
Forum: Plugins
In reply to: [LiteSpeed Cache] 5 million rows in wp_litespeed_img_optmWe fixed this issue in v5.4. You can use beta test to try latest ‘master’ branch for the fix.
V5.4 will be released in the end of this month
Forum: Plugins
In reply to: [LiteSpeed Cache] Bug in PHP 8That will be included in v5.5. Meanwhile you can try Beta Test from Toolbox w/ that link to try it. Just keep in mind it will include v5.4 changes which is mainly about image optm refactor.
Forum: Plugins
In reply to: [LiteSpeed Cache] Bug in PHP 8Forum: Plugins
In reply to: [LiteSpeed Cache] HTML minify: output void elements without trailing slashesWe have a filter
litespeed_buffer_finalize
. You can use it to alter the content after minified.Forum: Plugins
In reply to: [LiteSpeed Cache] Please remove logo from admin messagesIt is done in https://github.com/litespeedtech/lscache_wp/commit/0f1d84a87ed6456b760a9f7b7df0737fe76fba0a
Will be in our next release. Thanks for the suggestion.