Blog Sections Open

Clearing Stale KCFinder Thumbnails After Replacing an Image

How to deal with the case where KCFinder still shows the old preview even after the original image was deleted and uploaded again with the same filename.

KCFinder thumbnail issues often look like a file-permission problem, but sometimes the real issue is much simpler: the preview cache still points to the old binary because the replacement used exactly the same filename.

Renaming the new file works, but the cleaner fix is to invalidate or clear the preview cache layer that still serves the old thumbnail. If the original and replacement file names are identical, stale previews are a natural side effect unless the cache is refreshed explicitly.

Newer post

Fixing YAMS Tabbed Language Fields That Stop Behaving Correctly

Why YAMS language fields can ignore the expected tabbed layout in resource forms and what to verify in the build and configuration first.

Older post

Why PHx Can Make an Evolution CMS Page Feel Slow

What to check when page render time jumps sharply after adding PHx, even though it seems to be used only for simple empty-value checks.