Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ctf0/assetcachebust
Automatic Assets CacheBust for Php
https://github.com/ctf0/assetcachebust
cache-busting laravel php
Last synced: 11 days ago
JSON representation
Automatic Assets CacheBust for Php
- Host: GitHub
- URL: https://github.com/ctf0/assetcachebust
- Owner: ctf0
- License: mit
- Created: 2016-10-06T14:53:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:14:09.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T12:18:49.099Z (about 1 month ago)
- Topics: cache-busting, laravel, php
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Asset Cache Bust
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
```blade
// php
// laravel
{{ bustfy('css/style.css') }}
```
### Security
If you discover any security-related issues, please email [[email protected]](mailto:[email protected]).