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
front end interface for super_users to enable and disable django template caching #525
Comments
When I started developing themes this was a major nightmare. I was pulling my hair out trying to figure out why I could not see the changes I made on the template, very very frustrating, once you know it is still a pain having to restart every time you make a change. |
Agreed. Now that I figured out it wasn't browser caching and since I'm working on a local install right now, I just leave a terminal open and execute |
Just last night I had that conversation with a board member: |
For cross reference, similar to #476 |
I've fixed this in T11. The relevant fixes are scattered in a number of commits, but for example, this one is relevant: 61f8df2 |
Closing as resolved. |
+1 awesome work @PaulSD |
From a client "It would be convenient if there was a setting in Tendenci where the client could turn this on and off for development purposes."
During development a site is typically under a light load and template caching can slow down the development process. Taking a site live and then enabling template caching is the best way to achieve optimal speed. The catch is when you need to do an urgent update like adding a sponsor to the bottom of your home page, caching causes this to not be visible for however long the caching is set.
Thus for live sites it's reasonable to be able to turn off template caching, or perhaps force-refresh a specific template after editing it.
The text was updated successfully, but these errors were encountered: