Developer forum

Forum » Feature requests » Clear cache with Data Integration Job

Clear cache with Data Integration Job

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

It would be great that in the Data Integration app, just like we do in the Deployment tool, we could have a list of the Services Caches we could clear.

 

We do a lot of imports, some with the SQL Provider (meaning, not using Ecom or User providers), so a native way (for all providers) where we could clear some of the caches, would give us a lot of flexibility.

 

Best Regards,

Nuno Aguiar


Replies

 
Shiwanka Chathuranga Dynamicweb Employee
Shiwanka Chathuranga
Reply

how about doing some customization with JobFinishedObserver as temporary solution?

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Shiwanka,

 

Yeah, that works. This is really a feature request, so we don't have to keep customizing it.

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply
This post has been marked as an answer

Hi Nuno,

 

Thanks for the request. I agree, It would make sense to move this functionality from each provider and making it in a more native way (like Deployment tool). 

I have added it to our backlog.

 

Best regards

Rasmus Sanggaard

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Sounds good, thank you Rasmus

 
Wictor Wieczorek
Reply

Hey 😀
Has this feature been added?
I can't find it and it would really save my life.
After each product import from ERP, I have the old cache of categories and because of this, some links are not working.
I have been fixing it by making some small changes in product groups like changing primary related group:

This removes the cache and all the links start working.
But I don't really want to do it manually after each product import from ERP.

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

 

In DW10 it is possible to choose extacly which caches you want to clear after a job has run. In DW9 make sure "Disable cache clearing" is deselected. 

 

BR

Rasmus Sanggaard

 
Wictor Wieczorek
Reply

Hey Rasmus, thanks for the quick reply 💪
We still have DW9 on that project, I checked the "Disable cache clearing":

Looks correct, to me, unfortunately, the issue persists 😕

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi,

Then it is not a cache issue, but the URL index build. It is possilble to make a notification subscriber that calls Dynamicweb.Frontend.UrlHandling.UrlHelper.SetResetNeeded().

 

BR

Rasmus Sanggaard

 
Wictor Wieczorek
Reply

Ohhh, okay, I will try that 😁
Thanks Rasmus!