Skip to content

Releases: roliod/codeigniter-asset-versioning

1.0.2

18 Oct 10:39
Compare
Choose a tag to compare

This release aligns the code with PSR-2

1.0.1

02 Jun 22:19
Compare
Choose a tag to compare

This release fixes the bug which does not enable the library and helper to be moved from the package to CI

1.0.0

02 Jun 15:03
Compare
Choose a tag to compare

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