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

Use transients as storage as a fallback. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leewillis77
Copy link

Hi Joe;

I've been using Time-Stack to do some profiling of a page that isn't HTML - so solutions like debug-bar don't work for me. Time-Stack has worked really well - so thanks :)

However - I wanted to profile the code as run WITH and WITHOUT an object cache as many of the users running the code in question won't be using an object cache.

The attached PR makes the plugin fallback on transients for storage if neither APC, or an external object cache are available meaning it can be used without APC/Memcache.

This WorksForMe[tm], but I'm not sure if there was a deliberate reason not to use transients and insist on external cache - maybe some issue I haven't hit yet?

Comments / feedback welcome - 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

Successfully merging this pull request may close these issues.

1 participant