I can't seem to get cache to work.


example component:

<%attr>
ajax => 1
</%attr>
<%init>


return if $m->cache_self(key => 'ljs-loadablejs' . $session{username} . 
$session{userType}, expires_in => '3 hours' );

</%init>
<pre>
=====================================================================================
<% time() %>
=====================================================================================
</pre>


from httpd:

        PerlSetVar MasonDataDir /var/spool/mason/[site].com
        PerlAddVar      MasonDataCacheApi chi
        PerlAddVar      MasonDataCacheDefaults "driver => FastMmap"
        #PerlSetVar MasonCodeCacheMaxSize 0

Each time it gives me the current time instead of the cached verison
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to