Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorjervis
    • CommentTimeSep 13th 2007
     
    Does it works at the production time?

    or how to turn it on?
  1.  

    In production mode uncomment the define statements for caching in config/environments/production.php

    ak_define('ACTIVE_RECORD_CACHE_DATABASE_SCHEMA', true);
    ak_define('ACTIVE_RECORD_CACHE_DATABASE_SCHEMA_LIFE', 86400);
    

    This will cache the database schema for 1 day.

    • CommentAuthorjervis
    • CommentTimeSep 14th 2007
     
    thank you very much
    •  
      CommentAuthorjunqed
    • CommentTimeApr 8th 2008
     
    Next error on this "Call to undefined function ak_define()".
    I tried to replace function "ak_define" to "define". After reload a page there is no cache records in database. What's wrong?

    Sorry for english, russian i know better :)
    • CommentAuthorKaste
    • CommentTimeApr 17th 2008
     

    also define AK_CACHE_HANDLER

    see AkCache

Add your comments
    Username Password
  • Format comments as