Skip to content
New issue

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

Resource manager should be able to register un-bundled assets #3434

Open
sebastienros opened this issue Apr 4, 2019 · 1 comment
Open

Resource manager should be able to register un-bundled assets #3434

sebastienros opened this issue Apr 4, 2019 · 1 comment

Comments

@sebastienros
Copy link
Member

c.f. OrchardCMS/Orchard#8176

The idea is that in debug mode it would use isolated files, while use a bundle for release.
The key to find already registered files need to vary based on the configuration.

@sebastienros sebastienros added this to the 1.1 milestone Apr 4, 2019
deanmarcussen added a commit to ThisNetWorks/OrchardCore that referenced this issue May 4, 2019
@jtkech jtkech closed this as completed in b3508d5 Jul 5, 2019
@sebastienros sebastienros reopened this Aug 11, 2019
scleaver pushed a commit to scleaver/OrchardCore that referenced this issue Aug 22, 2019
* MediaFileStoreVersionProvider and FileVersionHashProvider

* WIP. Add IFileVersion to ResourceManager and Tag Helpers

* WIP Update ResourceManifest and admin layout to use asp-append-version. AppendVersion remains useful on ResourceManifest that also uses Version as when providing debug-src url's are not versioned

* create IModuleStaticFileProvider and provide registration identifiers so UseStaticFiles can resolve correct IFileProvider, in case another IFileProvider registered earlier (no conflict with media or custom registration in Cms.Web for example)

* WIP. Media ImageHelper working but needs further testing

* add ImageVersionProcessor suggest by jtkech. Tested works well

* Fixes OrchardCMS#3434 Setting the right resource key in debug mode - added OrchardCMS#8177 / OrchardCMS#8177 from Orchard V1

* add liquid tag helper for append_version

* updated LiquidFilter to work via httpContextAccessor to support media within markdown & html body

* implement cache / tidy up mediafilter

* remove IFileVersionHashProvider, and Replace, rather than remove and add the OC FileVersionProvider

* renamed MediaFileImageProvider to MediaResizingFileProvider

* add CdnBaseUrl  support for prepending a base cdn url to assets

* update documentation, and support append-version with AssertUrl Helper

* documentation tweaks

* more documentation tweaks

* add support for tenant static file provider, and change tenant static file provider manifest to once per tenant = false

* Add support for IVirtualPathBaseProvider as a better generic filter to provide additional path base information to IFileProviders if required.

* Code cleanup

* Refactoring

* Minor changes.

* Refactoring ShellFileVersionProvider

* Refactoring, rename ImageTagHelper Attribute asp-append-version

* Also use a shared cache for module static files.

* Minor change.

* Add support for AppendVersion to Link Tag Helper

* Little formatting after merging dev.
MatthijsKrempel pushed a commit to MatthijsKrempel/OrchardCore that referenced this issue Dec 23, 2019
* MediaFileStoreVersionProvider and FileVersionHashProvider

* WIP. Add IFileVersion to ResourceManager and Tag Helpers

* WIP Update ResourceManifest and admin layout to use asp-append-version. AppendVersion remains useful on ResourceManifest that also uses Version as when providing debug-src url's are not versioned

* create IModuleStaticFileProvider and provide registration identifiers so UseStaticFiles can resolve correct IFileProvider, in case another IFileProvider registered earlier (no conflict with media or custom registration in Cms.Web for example)

* WIP. Media ImageHelper working but needs further testing

* add ImageVersionProcessor suggest by jtkech. Tested works well

* Fixes OrchardCMS#3434 Setting the right resource key in debug mode - added OrchardCMS#8177 / OrchardCMS#8177 from Orchard V1

* add liquid tag helper for append_version

* updated LiquidFilter to work via httpContextAccessor to support media within markdown & html body

* implement cache / tidy up mediafilter

* remove IFileVersionHashProvider, and Replace, rather than remove and add the OC FileVersionProvider

* renamed MediaFileImageProvider to MediaResizingFileProvider

* add CdnBaseUrl  support for prepending a base cdn url to assets

* update documentation, and support append-version with AssertUrl Helper

* documentation tweaks

* more documentation tweaks

* add support for tenant static file provider, and change tenant static file provider manifest to once per tenant = false

* Add support for IVirtualPathBaseProvider as a better generic filter to provide additional path base information to IFileProviders if required.

* Code cleanup

* Refactoring

* Minor changes.

* Refactoring ShellFileVersionProvider

* Refactoring, rename ImageTagHelper Attribute asp-append-version

* Also use a shared cache for module static files.

* Minor change.

* Add support for AppendVersion to Link Tag Helper

* Little formatting after merging dev.
@sebastienros sebastienros modified the milestones: 1.1, 1.x Oct 7, 2021
@Piedone
Copy link
Member

Piedone commented Apr 24, 2024

Isn't this what the URL and debug URL parameters do already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants