Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File system cache in production #17

Open
hlship opened this issue Mar 8, 2014 · 0 comments
Open

File system cache in production #17

hlship opened this issue Mar 8, 2014 · 0 comments

Comments

@hlship
Copy link
Collaborator

hlship commented Mar 8, 2014

It would be very nice to be able to use the file system cache option in production ... so that, for example, the server could be back up and running after a crash, quickly.

As noted in the existing documentation, however, the contents of the cache are not just a product of the input source files, but also other runtime configuration: exact versions of libraries, plus potentially other settings (such as Jade settings, see #16).

Perhaps the application could provide a version number, or build timestamp, or something equivalent, that could be incorporated into the path to the cache folder; something that would be the application's responsibility to change when the configuration changed.

Interestingly, even if the cache was wiped out but rebuilt to the same content, the asset checksums would be the same, so many browsers would already have resource content locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant