Closed mahnunchik closed 10 years ago
I'm still a bit reluctant to implementing this one... Don't know why, but I have a feeling the solution would become a bit too complicated without offering outstanding benefits... I know using MD5 would avoid cache busting for unmodified files, but since this only happens when doing a new deployment, it's not such a huge problem, wouldn't you agree?
I will try to implement disordered creation of asset. If possible, we could add both md5 and timestamp fingerprints.
I solved this problem this way:
manager
is likeconfig
in aspax)This means that CSS is completed after all dependencies have been copied and fingerprinted.
The third step was a bad idea because it promotes duplication of dependencies (for example: with fingerprint and without).
ASPAX I think that aspax should not rely on order of mention in config. I think aspax should process CSS files by following steps:
config
. If it is located before CSS in the configuration file.config
and make asset. If it is located after CSS in the configuration file.Also it will be useful not only for CSS but for sourcemap assets too.