Skip to content
This repository was archived by the owner on May 30, 2026. It is now read-only.

Muetze42/nova-assets-versioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 Archived

This repository is archived and no longer maintained.

If you offer, maintain, or know of an actively maintained alternative to this project, please contact me at maintainers@huth.it.

If the alternative references this repository as its source, inspiration, predecessor, or migration path, I may list it here so existing users can find a maintained replacement.


Nova Assets Versioning

Many know the problem that after a package update you have to explain to the user that the browser cache has to be cleared.

This package appends the hash of script and style files loaded via Nova::script() or Nova::style().

Installation

composer require norman-huth/nova-assets-versioning

Example

Without this package:

<!-- Tool Styles -->
<link rel="stylesheet" href="/nova-api/styles/norman-huth-menu">

<!-- Tool Scripts -->
<script src="/nova-api/scripts/norman-huth-menu"></script>

With this package:

<!-- Tool Styles -->
<link rel="stylesheet" href="/nova-api/styles/norman-huth-menu?id=617a67680cd5dd5759b1963661ce40f1">

<!-- Tool Scripts -->
<script src="/nova-api/scripts/norman-huth-menu?id=cf9c832eb5de9f26626d5243e87f8814"></script>

More Laravel Nova Packages

Stand With Ukraine

Woman. Life. Freedom.

About

📦 Archived. No longer maintained. See README for maintained alternatives.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors

Languages