sabbelasichon / typo3_encore

Use Webpack Encore within TYPO3
Other
108 stars 19 forks source link

Old assets after cache:flush #208

Closed bonokburn closed 1 year ago

bonokburn commented 1 year ago

Hi!

I have a problem with our automatic TYPO3 deployment (TYPO3 11.5.32) and the use of ssch/typo3-encore (5.0.3): After the final "cache:flush" the deprecated assets are still used on the page, e.g. /typo3temp/assets/compressed/merged-xxx This results in display errors as the files no longer exist. Only a click on the button "Clear all caches" solves the problem. Apparently the "cache:flush" command behaves differently to the button in the backend.

Is there a known problem in this regard or do you have a workaround so that everything is displayed correctly even after an automatic deployment without manual steps?

Many thanks and best regards Frank

bonokburn commented 1 year ago

It was a problem of opcache. So we can close it here.