DavebyDay
  • News
  • Categorie
    • Dev
    • Download
    • Entertainment
    • Fix
    • Gaming
    • Hardware
    • Internet
    • News
    • Recensioni
    • Smart Tech
    • Software
    • Stampa 3D
    • Tutorial
    • Web
  • More
    Dead Pixel Test for Widescreen 21:9 – 4K

    Dead Pixel Test for Widescreen 21:9 – 4K

    Come esportare i modelli 3D di Fortnite

    Creare un Pattern con un’ immagine in Photoshop

    Installare CentOS 6.9 su una Virtual machine VMware

    Guida Rapida per utilizzo Xiaomi Yi

    Creare un iframe da un altro sito all’interno del nostro dominio o pagina

    Encode e Decode dei nostri progetti in Base64

    htaccess per sfruttare la memorizzazione nella cache del browser

    Cambiare un determianto testo ad ogni page reload

    Trending Tags

    • Video
    • Contatti
    No Result
    View All Result
    • News
    • Categorie
      • Dev
      • Download
      • Entertainment
      • Fix
      • Gaming
      • Hardware
      • Internet
      • News
      • Recensioni
      • Smart Tech
      • Software
      • Stampa 3D
      • Tutorial
      • Web
    • More
      Dead Pixel Test for Widescreen 21:9 – 4K

      Dead Pixel Test for Widescreen 21:9 – 4K

      Come esportare i modelli 3D di Fortnite

      Creare un Pattern con un’ immagine in Photoshop

      Installare CentOS 6.9 su una Virtual machine VMware

      Guida Rapida per utilizzo Xiaomi Yi

      Creare un iframe da un altro sito all’interno del nostro dominio o pagina

      Encode e Decode dei nostri progetti in Base64

      htaccess per sfruttare la memorizzazione nella cache del browser

      Cambiare un determianto testo ad ogni page reload

      Trending Tags

      • Video
      • Contatti
      No Result
      View All Result
      DavebyDay
      No Result
      View All Result
      Home Dev

      Come pulire la cache in Laravel

      Davebyday by Davebyday
      Novembre 20, 2020
      in Dev
      0
      Come pulire la cache in Laravel
      18
      SHARES
      252
      VIEWS
      Share on FacebookShare on Twitter

      Molte volte si incontra un problema per cui eventuali modifiche all’applicazione Laravel non si riflettono sulle interfacce Web. Ciò si verifica a causa dell’applicazione gestita dalla cache. Questo tutorial ti aiuterà a svuotare la cache nell’applicazione Laravel.

      Pulire Cache in Laravel (Terminale)

      Accedi al sistema che esegue l’applicazione Laravel e apri un terminale. Quindi vai al codice dell’applicazione Laravel. Qui è possibile emettere i comandi per cancellare la cache come segue:

      Random txt a ogni reload della pagina con JS

      Nascondere i commenti in Html e Php

      • 1. Clear Application Cache

        Eseguire il comando per cancellare la cache dell’applicazione dell’applicazione Laravel.

        php artisan cache:clear
        
      • 2. Clear Route Cache

        Per cancellare la cache delle rotte dell’applicazione Laravel, eseguire il seguente comando dalla shell.

        php artisan route:clear
        
      • 3. Clear Config Cache

        Puoi usare config: clear per cancellare la cache di configurazione dell’applicazione Laravel.

        php artisan config:clear 
        
      • 4. Clear Compiled View Files

        Inoltre, potrebbe essere necessario cancellare i file di visualizzazione compilati dell’applicazione Laravel. Per cancellare i file di visualizzazione compilati, eseguire il comando seguente dal terminale.

        php artisan view:clear 
        

      Clear Cache in Laravel (Browser)

      Most of the shared hosting providers don’t provide SSH access to the systems. In that case, you can clear the Laravel cache by calling the URL in the browser. You can simply place the below code in your routes/web.php file of the Laravel application. Then access this URL in the browser to clear the cache of the Laravel application.

      Route::get('/clear-cache', function() {
          Artisan::call('cache:clear');
          return "Cache is cleared";
      });

       

      Tags: cachelaravelphp
      Share7Tweet5SendShareShare
      Previous Post

      Random txt a ogni reload della pagina con JS

      Next Post

      Dead Pixel Test for Widescreen 21:9 – 4K

      Related Posts

      Dev

      Random txt a ogni reload della pagina con JS

      by Davebyday
      Ottobre 15, 2020
      84
      Dev

      Nascondere i commenti in Html e Php

      by Davebyday
      Ottobre 15, 2020
      58
      Next Post
      Dead Pixel Test for Widescreen 21:9 – 4K

      Dead Pixel Test for Widescreen 21:9 - 4K

      Recommended Stories

      Dead Pixel Test for Widescreen 21:9 – 4K

      Dead Pixel Test for Widescreen 21:9 – 4K

      Novembre 18, 2020
      127
      Come pulire la cache in Laravel

      Come pulire la cache in Laravel

      Novembre 20, 2020
      252

      Random txt a ogni reload della pagina con JS

      Ottobre 15, 2020
      84

      Nascondere i commenti in Html e Php

      Ottobre 15, 2020
      58
      Ecco le 8 metropolitane più lunghe del mondo

      Ecco le 8 metropolitane più lunghe del mondo

      Ottobre 15, 2020
      69

      Ecco la nuova moneta da 5 euro coniata dalla Zecca Italiana

      Ottobre 15, 2020
      53
      • Mega.co.nz non si apre

        18 shares
        Share 7 Tweet 5
      • Come pulire la cache in Laravel

        18 shares
        Share 7 Tweet 5
      • Configurare Raspberry Pi come Access Point Bridge

        15 shares
        Share 6 Tweet 4
      • Trovare file con percorso più lungo di 255 caratteri

        13 shares
        Share 5 Tweet 3
      • Dead Pixel Test for Widescreen 21:9 – 4K

        9 shares
        Share 4 Tweet 2
      • Home Assistance Compatible Device
      • My Setup
      • News
      • Web Tech & DIY

      © 2020

      No Result
      View All Result
      • Home Assistance Compatible Device
      • My Setup
      • News
      • Web Tech & DIY

      © 2020