Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)
Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)
Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)
If the option is auto loading (and in pippin’s code they are) then there isn’t any difference except for coding style as all auto loadable options are fetched together in one query in init time and cached in the memory and at this point get_option is not more then a wrapper around accessing a php … Read more
Page will only display first 6 videos
child theme performance / avoid import and minify JS files
Dashboard doesn’t work propertly
Speeding up admin-ajax.php
Ajax take too long to return code
It sounds like you misunderstand how to add rewrite rules as your structure is relatively common and should not require flushing the rules on every page load. The impact depends on your set of rewrite rules, and the codex is somewhat outdated and I don’t think it is as bad as it used to be … Read more
Yep, this is nasty issue that to have full WordPress environment you need to spend considerable time loading it. I’ve needed much better performance (for very dynamic incremental search feature) for work and what I went with is: Custom file as Ajax handler. SHORTINIT constant for limited WP core load. Very selectively loaded parts of … Read more
I will not worry to much about performance here, but I will optimize the code a bit by calling get_post_meta() only once. This will not increase or decrease performance as you will see in the post I have linked to later on, but it comes down to the principle of not repeating yourself. On the … Read more