@@ -78,6 +78,13 @@ pub struct NextConfig {
78
78
pub config_file : Option < String > ,
79
79
pub config_file_name : String ,
80
80
81
+ /// In-memory cache size in bytes.
82
+ ///
83
+ /// If `cache_max_memory_size: 0` disables in-memory caching.
84
+ pub cache_max_memory_size : Option < f64 > ,
85
+ /// custom path to a cache handler to use
86
+ pub cache_handler : Option < String > ,
87
+
81
88
pub env : IndexMap < String , JsonValue > ,
82
89
pub experimental : ExperimentalConfig ,
83
90
pub images : ImageConfig ,
@@ -427,10 +434,6 @@ pub struct ExperimentalConfig {
427
434
pub client_router_filter_allowed_rate : Option < f64 > ,
428
435
pub client_router_filter_redirects : Option < bool > ,
429
436
pub fetch_cache_key_prefix : Option < String > ,
430
- /// In-memory cache size in bytes.
431
- ///
432
- /// If `isr_memory_cache_size: 0` disables in-memory caching.
433
- pub isr_memory_cache_size : Option < f64 > ,
434
437
pub isr_flush_to_disk : Option < bool > ,
435
438
/// For use with `@next/mdx`. Compile MDX files using the new Rust compiler.
436
439
/// @see https://nextjs.org/docs/app/api-reference/next-config-js/mdxRs
@@ -481,8 +484,7 @@ pub struct ExperimentalConfig {
481
484
force_swc_transforms : Option < bool > ,
482
485
fully_specified : Option < bool > ,
483
486
gzip_size : Option < bool > ,
484
- /// custom path to a cache handler to use
485
- incremental_cache_handler_path : Option < String > ,
487
+
486
488
instrumentation_hook : Option < bool > ,
487
489
large_page_data_bytes : Option < f64 > ,
488
490
logging : Option < serde_json:: Value > ,
0 commit comments