Cache

  
Hi,

I have a dynamic databasedriven menu on a block. How can I use the cache? when I tried it everyboy saw the generated menu by other users. Does it uses the params to build the cache? Do I have to ensure that the User ID is one of the parameters for the block?

Thanks in advance,
Rodrigo
Hi,

Yes, you have figured it out correctly - the cache is dependant on the input parameters.
Putting the User ID as one of the parameters should fix the problem you are describing.
Cheers,
Tiago Simões
Tip:
There are several forms of invalidating the cache, one of which is the action ESpaceInvalidateCache().
http://www.outsystems.com/help/servicestudio/8.0/Improving_Runtime_Performance/Caching_Contents/Invalidating_the_Cache.htm
Help for version 9.
https://www.outsystems.com/help/servicestudio/9.0/Improving_Runtime_Performance/Caching_Contents/Invalidating_the_Cache.htm