Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:lscwp:esi_replace [2017/09/25 12:49]
Hai Zheng
litespeed_wiki:cache:lscwp:esi_replace [2017/10/01 17:57]
Hai Zheng
Line 1: Line 1:
-Note: LiteSpeed WordPress Cache plugin needs to be v1.2.4+.+Note: LiteSpeed WordPress Cache plugin needs to be v1.3+.
  
 Let's take **Caldera Forms Version 1.5.6.1** as the example. ​ Let's take **Caldera Forms Version 1.5.6.1** as the example. ​
Line 19: Line 19:
  if ( ! $from_esi ) {  if ( ! $from_esi ) {
  if ( method_exists( '​LiteSpeed_Cache_API',​ '​esi_enabled'​ ) && LiteSpeed_Cache_API::​esi_enabled() ) {  if ( method_exists( '​LiteSpeed_Cache_API',​ '​esi_enabled'​ ) && LiteSpeed_Cache_API::​esi_enabled() ) {
- if ( method_exists( '​LiteSpeed_Cache_API',​ '​v'​ ) && LiteSpeed_Cache_API::​v( '1.2.4' ) ) {+ if ( method_exists( '​LiteSpeed_Cache_API',​ '​v'​ ) && LiteSpeed_Cache_API::​v( '1.3' ) ) {
  $params = array( '​form_id'​ => $form_id ) ;  $params = array( '​form_id'​ => $form_id ) ;
  return LiteSpeed_Cache_API::​esi_url( '​caldera_forms',​ '​Caldera Forms',​ $params ) ;  return LiteSpeed_Cache_API::​esi_url( '​caldera_forms',​ '​Caldera Forms',​ $params ) ;
  • Admin
  • Last modified: 2017/10/02 14:33
  • by Hai Zheng