Wordpress LScache Plugin: JS Minify issue since 2.9.8
Last Updated on: Wed, 15 Apr 2026 00:00:02 Im experiencing a bug in the JS Minify feature of LiteSpeed Cache plugin v2.9.8.5. A bisection shows this bug was introduced in v2.9.8. As a temporary fix, I have reverted to 2.9.7.2 which works fine. The JS console (Firefox 69.0 on Windows 10) is showing the following error: SyntaxError: missing ) after argument list 60975.js:41:543 This error only occurs on English-language pages of my website, and seems related to JavaScript code of the TranslatePress plugin. Apparently this code is not correctly minified by LiteSpeed Cache. The offending code line: direct_string.textContent= if(_this.is_editor) jQuery(node).wrap() else var all_nodes=jQuery(node).find( ).addBack() var all_strings=all_nodes.contents().filter(function() if(this.nodeType===3&&/ S/.test(this.nodeValue)) if(!_this.skip_string(this)) return this ) if(_this.is_editor) all_strings.wrap() var all_strings_length = all_strings.length for (var j = 0 j
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference