Support the ongoing development of Laravel.io →
Views Blade Configuration

Hi all!

When I go to another page, my command line shows me information that is always loading all javascript and css files that I am using. Like the image bellow, I want to have some Dynamic section and a master layout that loads only one time!

Your alt text here

Can I do that with Laravel or I need to use other tools like Ajax?

Here is how I am rendering the views (logged_in_clients is the Master Page that I want):

@extends('layouts.logged_in_clients')
@section('content')

SOME HTML THINGS

@endsection
Last updated 3 years ago.
0

yes, others tools are needed. Laravel have a cool integration whit pusher. Defining event at those changes of data and pushing that to the client side its a way.

https://laravel.com/docs/5.2/events#consuming-event-broadcasts

0

Sign in to participate in this thread!

Eventy

Your banner here too?

apeafa apeafa Joined 23 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.