I've developed leave management in drupal 7 but facing an issue. When leave balance is updated due to calculations then it not shows right value from database due to drupal caching. Once I clean all caches then it shows right values. Is there any way to stop caching or update caching?

Please do some help.

  • did you add cache in your module after update DB
    – Adi
    Oct 15 '15 at 9:07
  • No, I've not used any modules for it. Oct 15 '15 at 9:08
  • Any help for this guyz? Oct 16 '15 at 6:04

Any well written module that has a cache, should prefix it with cache, meaning that the answer to your question is "Yes".

In the odd event that a module caches data somewhere else, you can check your modules for implementations of hook_flush_caches, and see what they remove.

Reference by Letharion

  • Hello Adi, I've used webformas leave application form and for leave balance I've created one field to Configuration->people->account settings->manage fields. How can I implement this answer to here? Oct 15 '15 at 9:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.