2017 © Pedro Peláez
 

typo3-flow-package cache-breaker

Create link to static resources with cache-breaking segment based on md5 of the file

image

opsdev/cache-breaker

Create link to static resources with cache-breaking segment based on md5 of the file

  • Thursday, March 23, 2017
  • by mrimann
  • Repository
  • 4 Watchers
  • 4 Stars
  • 6,186 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 10 Versions
  • 8 % Grown

The README.md

OpsDev.CacheBreaker

This package provides a ViewHelper and a Fusion object that work like their original counterparts, but appending cache breaking segment based on the file's md5., (*1)

Installation

Require the package via composer:, (*2)

composer require "opsdev/cache-breaker"

Usage

Use as a Fluid ViewHelper

{namespace opsdev=OpsDev\CacheBreaker\ViewHelpers}
<link rel="stylesheet" href="{opsdev:resource(path: 'path/to/your/file.css', package: 'Vendor.YourPackageName')}" />

Use as a Fusion object

stylesheets.index = T:Tag {
    tagName = 'link'
    attributes {
        href = OpsDev.CacheBreaker:ResourceUri {
            path = 'path/to/your/file.css'
            package = 'Vendor.YourPackageName'
        }
        type = 'text/css'
        rel = 'stylesheet'
    }
}

Credits

The development of this package is partially sponsored by CodeQ web factory, St Philaret Christian Orthodox Institute and internezzo ag., (*3)

Also the following persons have contributed to this package - thanks! - Dimitri Pisarev - Simon Schaufelberger - Guang Ha, (*4)

The Versions

23/03 2017

dev-master

9999999-dev

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

23/03 2017

3.0.0

3.0.0.0

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

21/03 2017

2.0.3

2.0.3.0

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

21/02 2017

v1.0.x-dev

1.0.9999999.9999999-dev

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

21/02 2017

1.0.2

1.0.2.0

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

21/02 2017

1.0.1

1.0.1.0

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

21/02 2017

2.0.2

2.0.2.0

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

20/02 2017

1.0.0

1.0.0.0

Create link to static resources with cache-breaking segment based on md5 of the file

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

06/11 2016

dev-test-fusion

dev-test-fusion

Add description here

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos

04/11 2016

dev-unit-tests

dev-unit-tests

Add description here

  Sources   Download

MIT

The Requires

 

cache assets performance flow neos