add cache headers
This commit is contained in:
1 parent
b8806b0854
commit
a165e13564
17 files changed
+354
-198
No files matched your search
@@ -12,7 +12,7 @@ use serde::{Deserialize, Serialize};
|
||||
|
||||
fn main() {
|
||||
launch!(@([127, 0, 0, 1], 8080), app, (AppProps { count: 5 }), {
|
||||
incremental,
|
||||
incremental: IncrementalRendererConfig::default().invalidate_after(std::time::Duration::from_secs(120)),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user