Developer forum

Forum » Ecommerce - Standard features » Deployment of EcomShops fights with the cache

Deployment of EcomShops fights with the cache

Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hello,

When deploying a change to EcomShops using the deployment tool (enabling and setting the "Use alt. images"), there appear to be two issues:

1. The cache wasn't busted automatically, so it didn't pick up my setting until I used the new Services Cache to clear the ShopService. That caused the new settings to show up in the backend.

2. However, even that didn't fix it on the frontend. I had to view the settings for the shop in the backend and then save. After doing that, it started working in the frontend. So the cache didn't appear to be rebuilt correctly until the save event on the shop settings.

Thanks,

Scott


Replies

 
Nicolai Pedersen
Reply

Hi Scott

Version? - and can you screenshot the settings in question?

BR Nicolai

 
Scott Forsyth Dynamicweb Employee
Scott Forsyth
Reply

Hi Nicolai,

It's 9.9.6. Below is an image of the settings that I changed. They copied over into the database correct, but just didn't bust the cache. I've also attached the deployment package.

Actually, an important piece of info I didn't mention last time is that they were imported with the "Deploy data items from upload folder" scheduled task. (technically, it's a custom version of that, so there's a chance that it's my mistake, but it's based on the original "Deploy data items from upload folder" scheduled task.)

 

You must be logged in to post in the forum