• Resolved Vivek Kumar

    (@vivek1273)


    If we set cache time as 4 hours, then it is just set expiration time but actually, we mean to set that in between 4 hours, API call should be stopped for that particular IP but this is not happening now as it is hardcoded with 1800

    Please have a look to below code

    set_transient( ‘pvb_’ . get_option( ‘pvb_proxycheckio_current_key’ ) . ‘_’ . $visitor_ip_address, time() + 1800 . ‘-‘ . 0, 60 * get_option( ‘pvb_proxycheckio_good_ip_cache_time’ ) );

The topic ‘Cache Time is not proper’ is closed to new replies.