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

Context-sensitive file cache not working in TYPO3 8 LTS #50

Open
Freshmeat-ch opened this issue May 1, 2017 · 6 comments
Open

Context-sensitive file cache not working in TYPO3 8 LTS #50

Freshmeat-ch opened this issue May 1, 2017 · 6 comments

Comments

@Freshmeat-ch
Copy link

Freshmeat-ch commented May 1, 2017

Under TYPO3 8 LTS and Development-context the parser should generate a new file if include-files where changed. This worked in TYPO3 7 LTS (maybe a unknown effect because i think the commit https://github.com/kaystrobach/TYPO3.dyncss/pull/39 breaks this behaviour on LTS 7 too).

Currently I added an additional Development-Mode check in Classes/Parser/AbstractParser.php:289 to disable caching.
if (@filemtime($outputFilename) < @filemtime($inputFilename) || $this->_checkIfCompileNeeded($inputFilename) || ApplicationContext::isDevelopmentModeActive()) {

@kaystrobach
Copy link
Owner

kaystrobach commented May 1, 2017 via email

@kaystrobach
Copy link
Owner

i think this was fixed with the latest version from 6 month ago, if not, please reopen.

@dbruening
Copy link

Don't works in TYPO3 8.7.22 with the current files form github.

@tdeuling
Copy link
Collaborator

I can confirm that this issue still remains.

@tdeuling tdeuling reopened this Feb 15, 2019
@kaystrobach
Copy link
Owner

We added some more agressive caching to dyncss before the 8.x release, maybe it fails because of this.

How do you setup your context?

@tdeuling
Copy link
Collaborator

tdeuling commented Feb 15, 2019

We have tried this with activated Dev-Mode in installtool and additionally SetEnv TYPO3_CONTEXT Development in .htaccess file.
The backend info section displays "Application Context Development".

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

No branches or pull requests

4 participants