Skip to content

1.0.0

Compare
Choose a tag to compare
@roliod roliod released this 02 Jun 15:03
· 18 commits to master since this release

Overview

This update enables the addition of a version identifier to assets such as JS, CSS and Images

Before

The base_url() or site_url() helper functions are usually used for assets but it makes it difficult for end users to see updates when an asset is cached and then updated.

After

An introduction of a helper function called version_url() for assets. This would give all assets version identifiers which would thereby force a browser to refresh the assets whenever an update is made.

Usage

Add 'asset' to the helper autoload