Skip to content

Use transients as storage as a fallback.#4

Open
leewillis77 wants to merge 1 commit intojoehoyle:masterfrom
leewillis77:master
Open

Use transients as storage as a fallback.#4
leewillis77 wants to merge 1 commit intojoehoyle:masterfrom
leewillis77:master

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