How do I force an extension decache?

How do I force an extension decache?

iklimis
Advocate Advocate
340 Views
1 Reply
Message 1 of 2

How do I force an extension decache?

iklimis
Advocate
Advocate

Hello Forma Team, 

After releasing a new version of our extension I noticed the changes not reflecting platform. They are although after I clean the browser cache memory.  I use the Angular framework which takes care of renaming the .js files during build time so they wont be cached, which leads to the conclusion that the whole extension is somehow cached inside Forma. 

Is there a way to force a cache clean-up and reload the new extension files fresh?

Thanks

0 Likes
Accepted solutions (1)
341 Views
1 Reply
Reply (1)
Message 2 of 2

hakon.dissenJRETR
Autodesk
Autodesk
Accepted solution

Hey!

We do not cache anything inside of your embedded view. Do you know what files specifically are cached?

Could you check the network request log in your browser and see if the response for your embedded view URL is cached? If the index html file for your domain is cached this may still refer to older versions of your javascript. You can try setting your webserver to respond with a cache-control header that lets you control the caching of your application.

Regards,
Håkon Dissen

0 Likes