Added immutable caching to the fingerprinted media types for the ConfigReader+Properties extension in the Website service target.
This commit is contained in:
@@ -14,10 +14,14 @@ struct AppTests {
|
||||
|
||||
// MARK: Constants
|
||||
|
||||
// Stylesheets and scripts are referenced through fingerprinted URLs, so they are served immutable.
|
||||
// Referenced through fingerprinted URLs, or an immutable subset file in the case of a font, so all of these are served immutable.
|
||||
private let immutableExtensions: [AssetExtension] = [
|
||||
.css,
|
||||
.js
|
||||
.jpg,
|
||||
.js,
|
||||
.mp4,
|
||||
.webp,
|
||||
.woff2
|
||||
]
|
||||
|
||||
// Absolute path to the copy of the package's "Resources/Static" folder made into the test bundle
|
||||
|
||||
Reference in New Issue
Block a user