slow-cheetah icon indicating copy to clipboard operation
slow-cheetah copied to clipboard

Preview should not create unnecessary temp files

Open davilimap opened this issue 7 years ago • 1 comments

When previewing transform, a temp file is always created for the preview. This should not happen if neither the source nor the transform file have not changed. The package should cache the latest temp file along with the timestamps of the original files. If the timestamps remain unchanged, just use the that temp file. If not, create another one.

davilimap avatar Apr 25 '17 00:04 davilimap

I can't remember for sure, but I think XDT exposes enough APIs to enable the preview to happen in memory. So maybe it's possible to bypass the extra file all together.

sayedihashimi avatar May 04 '17 04:05 sayedihashimi