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

[Dumps] Only load sfDump header once #714

Merged
merged 2 commits into from
Aug 26, 2019
Merged

Conversation

barryvdh
Copy link
Contributor

The script/style tags are added to all dumps, which make them big (eg. 15 kB per entry). You only need the header once (when rendering). This doesn't store them, but generates a single header on the fly.

I don't think we need al Javascript even, because that's not rendered (because of the v-html, which doesn't run inline scripts, which is why the collapse isn't working (see #636). But not sure if there is a different way to do that in Vue.

@barryvdh barryvdh changed the title Only load header once [Dumps] Only load sfDump header once Aug 26, 2019
@taylorotwell taylorotwell merged commit 76a5df6 into laravel:2.0 Aug 26, 2019
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