-
Notifications
You must be signed in to change notification settings - Fork 18
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
Consolidate advanced-cache.tpl.php
In a Future Release
#151
Comments
See also, the comment I made here in the code. https://github.com/WebSharks/Quick-Cache/blob/000000-dev/quick-cache/includes/advanced-cache.tpl.php#L1062 |
Great idea! I also noticed that duplication while working between |
@raamdev Would you like any help with this one? |
@jaswsinc Yes! That would be great. :) Feel free to assign this to yourself and add it to the Next Release milestone if you'd like to start working on this. Much appreciated! |
@raamdev Great! Assigned to me. |
Additional work toward achieving wpsharks/comet-cache#130 Also resolves wpsharks/comet-cache#206 Also resolves wpsharks/comet-cache#95 Also resolves wpsharks/comet-cache#193
Closed by PR #212 |
There are a growing number of routines shared between both the
advanced-cache.php
handler constructed byadvanced-cache.tpl.php
and the coreplugin
class. I think in the future it would be nice to create acommon
class that could be refactored to support both of these phases (i.e. it would contain all of the routines that both classes can share). This way we can avoid the duplication that we have now.I think it would be a good idea for us to work on this sometime in the near future so we can catch it before things really get out of hand; i.e. as QC continues to grow this likely to become a bigger and bigger issue in terms of the amount of code that is being duplicated. It's leaving too much room for error in my view.
The same is true for QC lite vs. Pro; although I'm not sure what we can do about that.
The text was updated successfully, but these errors were encountered: