Skip to content

WebSharks HTML Compressor v161207

Compare
Choose a tag to compare
@jaswrks jaswrks released this 07 Dec 17:43
· 17 commits to master since this release
  • Adding new config option: amp_exclusions_enable (default is enabled). This improves compatibility with Accelerated Mobile Pages. When this option is enabled and the URI being compressed ends with /amp/, or the document contains a top-level <html ⚡> tag (<html amp> is accepted as well), then features which are incompatible with Accelerated Mobile Pages will be disabled accordingly, regardless of your other settings. See Issue #695 in the Comet Cache repo.
  • Adding isDocAmpd() conditional check against current URI & document.
  • Adding automatic AMP feature exclusions for improved AMP compatibility.
  • Optimizing for speed by removing unnecessary calls to unset().
  • Enhancing unicode compatibility by taking full advantage of all mb_*() functions.
  • Adding multibyte compatible pregQuote().
  • Adding multibyte compatible replaceOnce().
  • Adding multibyte compatible substrReplace().
  • Updating all regex patterns to add the /u flag for unicode compatibility.
  • Updating minimum PHP requirement. Now requires PHP v5.4+ in support of short array syntax [].