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

Delegate cache busting query string to the UrlGenerator #379

Merged
merged 1 commit into from
Jul 21, 2015
Merged

Delegate cache busting query string to the UrlGenerator #379

merged 1 commit into from
Jul 21, 2015

Conversation

stanfieldr
Copy link

In our case we override the UrlGenerator to provide cache busting and a few shortcuts to mounting locations. The problem is Debugbar adds a query string to bust cache even though one exists. An easy solution would be to offload the work onto the UrlGenerator since it knows best how to hand the URL.

So something like this:
http://focus.dev/Modules.php?modname=laravel/route?123

Becomes:
http://focus.dev/Modules.php?modname=laravel/route&v=123

barryvdh added a commit that referenced this pull request Jul 21, 2015
Delegate cache busting query string to the UrlGenerator
@barryvdh barryvdh merged commit 8833c88 into barryvdh:1.8 Jul 21, 2015
@barryvdh
Copy link
Owner

Thanks!

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