Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
KK, I suggest to enable caching of snippets in database only if the option K_USE_CACHE set to 1.

I had to remove all auto-entries in couch_settings after being stuck with the same output of a changed snippet, which made me feel puzzled for a moment. This feature is so hidden, no one knows about it..
Are snippets always cached?
has this been changed since this post?
exwp wrote: Are snippets always cached?
has this been changed since this post?

1. Yes, unless K_CACHE_OPCODES is set to 0 explicitly by you in couch/header.php (value is "1" by default).
Code: Select all
define( 'K_CACHE_OPCODES', '0' ); 


2. No. Cache updates itself when snippet file is modified (but PHP caches this info which leads to undetected changes sometimes). Recommend to turn cache off while in development.
O.k. Good!
Thank you for your answer!
Hello, trendoman.

Thank you for your info!
5 posts Page 1 of 1
cron