Developer forum

Forum » CMS - Standard features » Cache Services - create custom ones with "clear" button

Cache Services - create custom ones with "clear" button

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

We were wondering if there is a way for us to subscribe our custom cache keys (i.e. from our Live Integration customizations) to the new cache screen, so we could clear specific services that are custom developed.

 

Is that possible, and if so, can I get an example?

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply

Not yet.

You will have to implement the interface Dynamicweb.Caching.ICacheStorage which is currently not public as we consider it 'experimental' - we need to ensure that is the way that interface will look.

Also all these services now handles their caches using the Dynamicweb.Caching.ServiceCache which is also not public yet.

BR Nicolai

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Sounds ok for it not to be public yet. At least you already know we're interested ;)

 

BR

Nuno Aguiar

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Any updates on this? We'd like to start using the Dynamicweb Caching methods/interfaces so we can have a UI to clear some custom cache.

 

Nuno

 
Nicolai Pedersen
Reply

Just made them public so next public release of the package should do it!

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

That is perfect. Thank you

 

You must be logged in to post in the forum