[Xfce4-commits] <www:nick/gettext> Set apc ttl to 1 hour.

Nick Schermer noreply at xfce.org
Sun Mar 27 15:12:01 CEST 2011


Updating branch refs/heads/nick/gettext
         to 52bbfb1d41e41e6cc0cb0d176c19de2b7b164b37 (commit)
       from 9a3b74cb8dba8ce6a0359b54b561196c9fa59f39 (commit)

commit 52bbfb1d41e41e6cc0cb0d176c19de2b7b164b37
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Mar 27 15:10:12 2011 +0200

    Set apc ttl to 1 hour.

 style/bundle.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/style/bundle.php b/style/bundle.php
index 5f04f98..18fc937 100644
--- a/style/bundle.php
+++ b/style/bundle.php
@@ -61,7 +61,7 @@ echo $buf;
 /* store minified data content */
 if ($have_apc)
   {
-    $ttl = 60 * 5;
+    $ttl = 3600; /* 1 hour */
 
     @apc_store ('wxo_css', $buf, $ttl);
     @apc_store ('wxo_css_mtime', $mtime, $ttl);



More information about the Xfce4-commits mailing list