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

Comments

Projects
None yet
2 participants
@lukeyouell
Copy link

commented Aug 23, 2018

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

This comment has been minimized.

Copy link
Member

commented Aug 27, 2018

Fixed for the next release, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.