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

Clearing template caches does nothing if 'enableTemplateCaching' is false #3229

Closed
lukeyouell opened this issue Aug 23, 2018 · 1 comment
Closed

Comments

@lukeyouell
Copy link

Description

If enableTemplateCaching is set to false then clearing the template caches from the utilities section doesn't actually clear the DB records.

This means that we are unable to clear the template caches in our dev environment before uploading the DB to our other environments without first setting enableTemplateCaching to true

Steps to reproduce

  1. Set enableTemplateCaching to true
  2. Trigger template cache records to be stored
  3. Set enableTemplateCaching to false
  4. Clear template caches from 'Utilities' > 'Clear Caches'
  5. Records still exist in the DB even though the frontend shows the process was successful

Additional info

  • Craft version: 3.0.21
@brandonkelly
Copy link
Member

Fixed for the next release, thanks!

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

2 participants