c# - Cache: expire data when table data changes -


Is there a way to store this data on the client side in the cache and eliminate the data from the cache, when only two Updated / Rows of tables? I need to load the menu with the correct permissions from the database, when no permission is changed On the current implementation, menu item loads from the database in the tree weigh each time the page loads.

So is there a direct way to accomplish this? Because I can not use sliding ending and complete termination because I do not know when the administrator will change user's rights.

Regards

Yes, there is a way to do this. This is called SQL cache dependency and the whole technique is included rather.

Great tutorial on the same topic.


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -