andrewdavey / andrewdavey/cassette

Allow more context in IURLModifer.Modify

Open
#411 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
531
Forks
139
PR merge metrics
No merged PRs in 30d

Description

Hi,

We are trying to serve the Cassette MSBUILD precompiled files from a static CDN but Cassette always adds Cassette.axd / filename into a string.

The code to decouple the URL and form the new CDN url is never neat.

In UrlGenerator - The CreateBundleURL method should pass the bundle reference into Modify URL of IURLGenerator or some sort of context so we can decide on which URL we should generate.

Thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.