Closed meszaros-lajos-gyorgy closed 7 months ago
It would be nice to also have the possibility to have this done seamlessly, like create a checksum of a json before compiling it or comparing the last modification date of a binary asset to see if it changed.
I've ended up creating a hash based cache invalidation for the ftl files in https://github.com/arx-tools/arx-level-generator/releases/tag/v14.0.0 which works perfectly. For now I don't know if this is needed for the textures, so I'll close down the ticket.
Extra info: Textures are now also getting their cache invalidated based on the hash -> got released with 14.1.0
When working with ftl files they need to be generated over and over again so caching them doesn't seem practical. Would be nice if it could be temporarily disabled from code or more like an explicit "store in cache" function would be better