Chained Selects plugin, does not reload csv after expiration time

Hi, everyone

I populate a Chained Select field with gform_chainedselects_import_file filter where expiration time is set to 60 seconds. See filter below. CSV-file is updated via FTP.

Problem is that the selection list is not updating after 60 seconds, or whatever value I set for expiration.
The form will update - after hours. Seems random.

I can force an update by changing ‘url’ from HTTPS: to HTTP: in the filter, so the filter is working - just not with the expiration timer.

Any ideas appreciated.

add_filter( ‘gform_chainedselects_import_file_4_10’, ‘set_barn_d2’, 10, 3 );
function set_barn_d2( $import_file, $form, $field ){
$file_array = array(
‘url’ => ‘’,
‘expiration’ => 60
return $file_array;

I recommend opening a support ticket for this issue if you have not already:

Thank you, Chris.

© 2008 - 2019. Gravity Forms is a project by Rocketgenius Inc.