2017 © Pedro Peláez
 

neos-package flow-cachebreak

Cache breaking functionality for static resources in Flow

image

mindscreen/flow-cachebreak

Cache breaking functionality for static resources in Flow

  • Friday, March 17, 2017
  • by theilm
  • Repository
  • 3 Watchers
  • 1 Stars
  • 1,045 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 9 % Grown

The README.md

MIT license Packagist, (*1)

Cache Breaking for Flow resources

This package provides a ViewHelper that adds a cache breaking string to resource URIs. The cache breaking string can be updated with a CLI command., (*2)

Replace the default Flow resource.uri ViewHelper with the ViewHelper provided by this package for all resources that should get cache breaking capability:, (*3)

<link rel="stylesheet" href="{cb:uri.resource(path: 'Build/Styles/Style.css', package: 'My.Package')}" />

You can set far future expires headers for these resources, as the the ViewHelper will add a cache breaking GET parameter to the resource URI., (*4)

The GET parameter is only updated when you explicitly flush the Mindscreen_Flow_CacheBreak cache. ./flow flow:cache:flush will not clear this cache, as it is persistent., (*5)

As an alternative to cache flushing, you can use the command ./flow cachebreak:update (which does the same thing basically)., (*6)

You should execute the cachebreak:update command (or the cache flushing) during every deployment (for example as part of your Surf Deployment)., (*7)

The Versions

17/03 2017

dev-master

9999999-dev

Cache breaking functionality for static resources in Flow

  Sources   Download

MIT

The Requires

 

by Thomas Heilmann

17/03 2017

1.0.0

1.0.0.0

Cache breaking functionality for static resources in Flow

  Sources   Download

MIT

The Requires

 

by Thomas Heilmann

13/07 2016

0.1.0

0.1.0.0

Cache breaking functionality for static resources in Flow

  Sources   Download

MIT

The Requires

 

by Thomas Heilmann