class Sprockets::UnloadedAsset
def dependency_history_key
URI depndencies are later converted to "compressed" paths
since last lookup. If one of them has, the key will be different and a new entry must be stored.
This method of asset lookup is used to ensure that none of the dependencies have been modified
"file-digest:///Full/path/app/assets/stylesheets"]]
"processors:type=text/css&file_type=text/css&pipeline=self",
"file-digest:///Full/path/app/assets/stylesheets/application.css",
[["environment-version", "environment-paths", "processors:type=text/css&file_type=text/css",
For example a history array with one Set of dependencies may look like:
are used.
compilation, such as the VERSION of sprockets (i.e. the environment) and what "processors"
may rely on jquery.js (so jquery.js is a dependency), or other factors that may affect
A dependency can refer to either an asset i.e. index.js
for a given asset path and filename digest.
Used to retrieve an array of "histories" each of which contain a set of stored dependencies
Public: Dependency History key
def dependency_history_key "asset-uri-cache-dependencies:#{compressed_path}:#{ @env.file_digest(filename) }" end