DavebyDay
  • News
  • Categorie
    • Dev
    • Download
    • Entertainment
    • Fix
    • Gaming
    • Hardware
    • Internet
    • News
    • Recensioni
    • Smart Tech
    • Software
    • Stampa 3D
    • Tutorial
    • Web
  • More
    Create Offline Videos with AI

    Create Offline Videos with AI

    How to update Open WebUI in Docker

    How to update Open WebUI in Docker

    Disable Web Search in Start Menu – Windows 10

    Disable Web Search in Start Menu – Windows 10

    Google Sheets find and replace with macro

    Google Sheets find and replace with macro

    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

  • 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
    Create Offline Videos with AI

    Create Offline Videos with AI

    How to update Open WebUI in Docker

    How to update Open WebUI in Docker

    Disable Web Search in Start Menu – Windows 10

    Disable Web Search in Start Menu – Windows 10

    Google Sheets find and replace with macro

    Google Sheets find and replace with macro

    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

  • 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
148
SHARES
2.1k
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:

Run .BAT Files in Minimized Mode

Absolute Zero – Self-Improvement AI

What is Model Context Protocol

Llama 4: New Era in Open-Source LLM

Nvidia Jetson Orin: AI Computer for Everyone

  • 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";
});

 

Post Views: 2.229
Tags: cachelaravelphp
Share59Tweet37SendShareShare
Previous Post

Random txt a ogni reload della pagina con JS

Next Post

Dead Pixel Test for Widescreen 21:9 – 4K

Related Posts

Run .BAT Files in Minimized Mode
Dev

Run .BAT Files in Minimized Mode

by Davebyday
Maggio 10, 2025
36
Absolute Zero – Self-Improvement AI
AI

Absolute Zero – Self-Improvement AI

by Davebyday
Maggio 19, 2025
14
What is Model Context Protocol
AI

What is Model Context Protocol

by Davebyday
Maggio 19, 2025
13
Llama 4: New Era in Open-Source LLM
AI

Llama 4: New Era in Open-Source LLM

by Davebyday
Maggio 21, 2025
8
Nvidia Jetson Orin: AI Computer for Everyone
AI

Nvidia Jetson Orin: AI Computer for Everyone

by Davebyday
Maggio 19, 2025
13
Next Post
Dead Pixel Test for Widescreen 21:9 – 4K

Dead Pixel Test for Widescreen 21:9 - 4K

Google Sheets find and replace with macro

Google Sheets find and replace with macro

Recommended Stories

Create Offline Videos with AI

Create Offline Videos with AI

Maggio 21, 2025
8
AI Startup System Prompts Leaked

AI Startup System Prompts Leaked

Maggio 19, 2025
22
Run .BAT Files in Minimized Mode

Run .BAT Files in Minimized Mode

Maggio 10, 2025
36
Absolute Zero – Self-Improvement AI

Absolute Zero – Self-Improvement AI

Maggio 19, 2025
14
What is Model Context Protocol

What is Model Context Protocol

Maggio 19, 2025
13
How to update Open WebUI in Docker

How to update Open WebUI in Docker

Aprile 7, 2025
496
  • Configurare Raspberry Pi come Access Point Bridge

    223 shares
    Share 89 Tweet 56
  • Trovare file con percorso più lungo di 255 caratteri

    202 shares
    Share 81 Tweet 51
  • Raspberry Pi: come avviare programmi allo start up

    178 shares
    Share 71 Tweet 45
  • Mega.co.nz non si apre

    174 shares
    Share 70 Tweet 44
  • Come abilitare il login per l’utente root nella GUI Debian

    151 shares
    Share 60 Tweet 38
  • 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