ctf0 / Asset-Cache-Bust by ctf0

Automatic Assets CacheBust in Laravel
10,457
3
2
Package Data
Maintainer Username: ctf0
Maintainer Contact: muah003@gmail.com (Muah)
Package Create Date: 2016-10-06
Package Last Update: 2023-01-03
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:06:33
Package Statistics
Total Downloads: 10,457
Monthly Downloads: 4
Daily Downloads: 0
Total Stars: 3
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

simply everytime you make a change to the file, its timestamp gets changed & the cache will be busted automatically 😍.

Installation

  • composer require ctf0/asset-cache-bust

Usage

  • in your view

    // php
    <?php echo bustfy('css/style.css') ?>
    
    // laravel
    {{ bustfy('css/style.css') }}