Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: add hint about OPcache blacklist for PHP generator #427

Open
wazum opened this issue Jan 20, 2025 · 1 comment
Open

Documentation: add hint about OPcache blacklist for PHP generator #427

wazum opened this issue Jan 20, 2025 · 1 comment
Labels

Comments

@wazum
Copy link

wazum commented Jan 20, 2025

Feature Request

Is your feature request related to a problem? Please describe.

With Nginx and PHP OPcache active and the recommended setting for production environments opcache.validate_timestamps = 0, we encountered problems with the PHP generator (of course, in hindsight it is quite clear), which meant that changes were not delivered correctly.

Describe the solution you'd like

Add a hint in the documentation or FAQ.

If PHP OPcache is used and the recommended setting for production environments opcache.validate_timestamps = 0 is configured and the PHP generator is used (e.g. if Nginx is used), the directory for the static PHP files must be added to the OPcache blacklist.

opcache.blacklist_filename = /path/to/blacklist.txt

blacklist.txt

/absolute/path/to/typo3/web/typo3temp/assets/tx_staticfilecache/*
@wazum wazum added the feature label Jan 20, 2025
@lochmueller
Copy link
Owner

Good point. We will add it to the documentation shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants