Links

weglot_get_slugs_cache_duration

This filter allow you to change the duration of cache we store the slugs. By default is setting to 0.
add_filter( 'weglot_autoredirect_only_home', 0 );