We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A popular way to serve static files is to calculate file hash and set never expiring cache. It could be done same as in Ruby in Rails.
1 Provide helper method for building urls for assets asset_path("/app.js") => "/assets/app.js?filehash=43435bbc1a34"
asset_path("/app.js") => "/assets/app.js?filehash=43435bbc1a34"
2 Tell Jester to set never expiring cache header if there's filehash in the path.
filehash
P.S.
File hashes could be pre-built before the server deployment with a special task and saved in say public/filehashes.json.
public/filehashes.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A popular way to serve static files is to calculate file hash and set never expiring cache. It could be done same as in Ruby in Rails.
1 Provide helper method for building urls for assets
asset_path("/app.js") => "/assets/app.js?filehash=43435bbc1a34"
2 Tell Jester to set never expiring cache header if there's
filehash
in the path.P.S.
File hashes could be pre-built before the server deployment with a special task and saved in say
public/filehashes.json
.The text was updated successfully, but these errors were encountered: