Cache for 24h since it's a static resources

This commit is contained in:
2025-09-06 21:39:47 +08:00
parent a95d389cb1
commit a98aceb627

2
api.js
View File

@@ -154,7 +154,7 @@ BotanJS.prototype.compile = function( type )
if( k ) if( k )
{ {
Dragonfly.Debug( "FastCache: " + k ); Dragonfly.Debug( "FastCache: " + k );
fCache.expire( 30 ); fCache.expire( 86400 );
_self.storeForRender( rainet, type, k ); _self.storeForRender( rainet, type, k );
_self.emit( "complete" ); _self.emit( "complete" );