lelesys / common-flowproject
Common stuff and helpers for Flow Framework based projects
Installs: 2 006
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:neos-package
Requires
- neos/flow: ^5.0
README
Common stuff and helpers for Flow Framework based projects
To install:
composer require lelesys/common-flowproject
Adding query string parameter to static resource URIs
Query string parameter "v=INTEGER" is added to the static resource URIs. By default CSS and Javascript URIs are enabled. This can be combined with setting far future cache headers from web server configuration. This is very helpful when a new version of application is deployed the cached version string is regenrated which forces reload of the static resource in clients' browsers.
To start using this feature add your package key to the settings:
Lelesys:
Common:
FlowProject:
resourceUri:
enabledPackages:
'Your.Package': true
To enable other kinds of URIs modify the regular expression from settings:
Lelesys:
Common:
FlowProject:
resourceUri:
matchingRegex: '/\.(js|css)$/'