Drupal 8.7 can't clear the cache in the Administration Dashboard After a long time without clearing cache

Problem: When you let your Drupal 8.7 website cache content and assets for a long time without clearing the cache, keep in mind that sometimes when you attempt to clear the cache, the website might throw an error.

- When this happens, don't panic instead see solution below:

Error: The website encountered an error, please try again later.

Solution: Keep on clearing the cache until you see the "Cache Cleared Successfully" on your dashboard notification section. There is a chance that Drupal 8.7 core library is only clearing the cache 1 week going back, this is, of course, depends on the setting you have defined on the same page you are clearing the cache.

- Keep in mind that clearing the Cache unnecessary can cost your website some performance hit. This should be done only when it is absolutely necessary like when deploying new modules.

Edit this Article
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue

© 2021 - ErnesTech - Privacy