Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

CACHE_ENABLED=FALSE function

Maria Cristina Debuayan asked on April 20, 2017

Hi,
 
I set my flexmonster config with CACHE_ENABLED=false
then i tried to add new record in mysql DB without restarting the accelerator but the new data is not reflected in the grid.
please advise.
thank you.

1 answer

Public
Ian Sadovy Flexmonster April 20, 2017

Hello Maria,
 
Thank you for the question.
Accelerator for Mondrian has two levels of cache: 

  • Accelerator cache (controlled by CACHE_ENABLED parameter)
  • Mondrian cache

Mondrian cannot deduce when the database is being modified, so we introduce a method to force clearing the cache.
It works by triggering the ClearCache as follows: http://localhost:50006/FlexmonsterProxy/ClearCache
 
Hope it helps.
 
Regards,
Ian

Please login or Register to Submit Answer