Welcome, Guest
Username: Password: Remember me

TOPIC: Cache file cleanup

Cache file cleanup 6 days 6 hours ago #3594

  • GuruGurra
  • GuruGurra's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Karma: 0
When developing a new version I sometimes create a new spreadsheet version not to mess with released versions of the app. I have noticed that when the updated version is released, I get a new version of the local cache file (*.loc file) while the old .loc file is still present.

If I don't write code to "manually" remove old cache files, will they remain forever? If I should remove old files, how do I know which file that is the currently used file?
The administrator has disabled public write access.

Cache file cleanup 3 days 3 hours ago #3603

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1202
  • Thank you received: 256
  • Karma: 78
The .loc files are just temporally files used by the plugin at runtime to save memory.
They are generated automatically when the app starts, so, you can safely delete all files, the plugin will generate the correct ones again.

Said that, the plugin should be deleting them when the app exists or is restarted with a new setting. But I guess that if the game crashes or is forcibly stopped it can leave some residual files (which should be deleted the next time the app opens, unless you are installing a new version).
I will add code to automatically detect when there are old .loc files and delete them.

That should be included in the next beta.
Hope that helps,
Frank
Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
The administrator has disabled public write access.
Time to create page: 0.085 seconds
Template by JoomlaShine