ctf0 / Asset-Cache-Bust by ctf0

Automatic Assets CacheBust in Laravel
10,397
3
3
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-04-26 03:09:54
Package Statistics
Total Downloads: 10,397
Monthly Downloads: 11
Daily Downloads: 0
Total Stars: 3
Total Watchers: 3
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') }}