You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fingerprinting is a technique that transforms the filename in the HASH of the content, so when the contents of a file changes the file name changes as well. This allows you to set far future caching headers and when you update the contents of your file, a new file will be cached. So there is no need for version management.
Fingerprinting should be enabled by default. When you create a new file we should add the original file path to a list of aliases. So we can lookup the file paths and get the new name and URL location of the asset.
varFactory=require('sfs'),sfs=newFactory(),File=sfs.File;y=newFile(path);sfs.get(path,function(err,paths){/* paths should be an array */});
The text was updated successfully, but these errors were encountered:
Fingerprinting is a technique that transforms the filename in the HASH of the content, so when the contents of a file changes the file name changes as well. This allows you to set far future caching headers and when you update the contents of your file, a new file will be cached. So there is no need for version management.
Fingerprinting should be enabled by default. When you create a new file we should add the original file path to a list of aliases. So we can lookup the file paths and get the new name and URL location of the asset.
The text was updated successfully, but these errors were encountered: