Zokka-Dev / zokka-compiler

Fork of compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
82 stars 0 forks source link

Registries cache file is not being utilized effectively #7

Closed changlinli closed 9 months ago

changlinli commented 9 months ago

Quick Summary: Even with no changes to a custom repos config, we still download repository data from scratch every time.

SSCCE

Any Zokka project.

Additional Details

This is because my time logic relies on comparing timestamps of two files which will basically never be equal. I should instead store the timestamp of the config file in the cached registries data file (as is done for d.dat in elm-stuff).