I've got a premium plugin and setting up a custom solution to serve updates. However I've got a question regarding how contents are managed.
Wordpress just remove old plugin folder and install the new one. But what about cached files?
Assuming plugin has got two folders full of files and I must keep them: how should I proceed? Is there a way to tell Wordpress to ignore those elements?