Task #8056
Remove configuration option for mirrorMode
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 0% |
|
Category: | Resource | |||
Target version: | - | |||
Sprint: | Has patch: | No | ||
PHP Version: | Complexity: |
Description
The resource publisher can mirror resources either be creating symlinks or copying the files. This can be configured through the mirrorMode setting. The default of this setting is "copy" to guarantee that file publishing works on any system. What most people want though is "symlink" because it's much faster.
This task is about checking the possibility to remove this user setting and let FLOW3 autodetect which method to use. The detection mechanism should consider
- if the OS supports symlinks
- if the webserver is configured to actually follow symlinks
Related issues
Associated revisions
[~TASK][!!!] FLOW3: Make symlink mirror mode the default
The setting FLOW3:resource:publishing:fileSystem:mirrorMode
is now set to "link" by default which means that instead of
copying each resource file to the public directory, symlinks
are used.
It is not 100% clear yet, how systems not supporting symlinks
behave - if you experience any problems, please open an issue
with a good error description so we can take some precautions
Relates to: #8056
Change-Id: I2ca87862ded4d719bfc2776da2837e33645f4ab1
History
#1 Updated by Karsten Dambekalns over 4 years ago
- Target version set to 1.0 alpha 14
- Start date deleted (
2010-06-04)
#2 Updated by Christopher Hlubek over 4 years ago
Since we are able to write configuration files we could think about doing some kind of "autosetup" in FLOW3. So we don't have to check abilities for every request but only on the first hit and then write the configuration. I think there are cases where you would want to use copy mode even if symlinks are available by the system.
#3 Updated by Karsten Dambekalns about 4 years ago
- Target version changed from 1.0 alpha 14 to 1230
#4 Updated by Karsten Dambekalns almost 4 years ago
- Target version deleted (
1230)
#5 Updated by Karsten Dambekalns about 3 years ago
- Status changed from New to Closed
- Assigned To set to Karsten Dambekalns
- Has patch set to No