Open lucaswerkmeister opened 7 years ago
Seems like a good idea
@lucaswerkmeister that was for something different: after a bad download or copy, the client would create a new .sha1
file in ~/.ceylon/cache
of the corrupt artifact (e.g. .car
file).
Currently, we send a fairly short caching time (1 hour) for module resources:
Perhaps it’s good to have a short max-age during release, in case we screw something up, but the rest of the time, I don’t see why the header couldn’t be much longer. This could improve loading time of Ceylon applications running in the browser (e. g. the web IDE).
In fact, we could go even further and add the immutable attribute: the justification for it –
– sounds like a good fit to our repositories of versioned modules, where a new resource should also mean a new version.
@jvasileff: you said something about the cache in https://github.com/ceylon/ceylon-herd/issues/244#issuecomment-157751949 which I don’t understand, do you want to chime in here?