Cache for 24h since it's a static resources
This commit is contained in:
2
api.js
2
api.js
@@ -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" );
|
||||||
|
Reference in New Issue
Block a user