Skip to content

Conversation

@Nomafin
Copy link
Contributor

@Nomafin Nomafin commented Dec 1, 2017

No description provided.

Copy link

@villesiltala villesiltala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideas about caching..

src/Codifier.php Outdated
$value_node = [];
break;
default:
if ( ! ( $value_node = wp_cache_get( $id .'-'. $key ) ) ) {
Copy link

@villesiltala villesiltala Dec 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the cache key be in the following format:

wp_cache_get( 'get_field/' . $id .'/key='. $key )

This needs an automatic invalidation functionality before releasing.

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.

3 participants