Skip to content

Load cache manifest from specified application - #3618

Merged
josevalim merged 1 commit into
phoenixframework:masterfrom
robinvdvleuten:cache-manifest
Dec 12, 2019
Merged

Load cache manifest from specified application#3618
josevalim merged 1 commit into
phoenixframework:masterfrom
robinvdvleuten:cache-manifest

Conversation

@robinvdvleuten

Copy link
Copy Markdown
Contributor

Within my current Umbrella project, I have multiple applications sharing the same assets. That's why I've created an "empty" application only containing the assets and the cache manifest. Configuring the correct app was easy for Plug.Static through the :from option. But the :cache_static_manifest option could only use a directory within the app itself.

This PR adds the option to define the application from where the path to the cache manifest must be resolved in a similar fashion as the Plug.Static option. Also a normal file path still works so no breaking backwards compatibility.

@robinvdvleuten

Copy link
Copy Markdown
Contributor Author

Did someone find the time to take a peek at this PR and give some feedback, that would be nice :)

@josevalim
josevalim merged commit 62a18b5 into phoenixframework:master Dec 12, 2019
@josevalim

Copy link
Copy Markdown
Member

❤️ 💚 💙 💛 💜

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

Successfully merging this pull request may close these issues.

2 participants