Tag Info

New answers tagged

0

APCu > Memecachedd when doing caching on only one server. Memcached should be used to have object caching in multi server enviroment while on a single server the overhead of the communication and task switching involved with using it is just pointless when compared to the not complicated direct approach to memory that APCu takes. As for the expiry time of a ...


0

Early optimization is the source of 99% of the unreadable and unmaintainable code. (statistics I made up just now) There are two kinds of optimizations to make things faster to make things reasonable fast You know what is the type 1 optimizations you need only after your code is ready and you can do general profiling and decide what is worth the effort ...


0

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 contrary to what you are thinking, querying custom fields is ...


1

Why do you want to test it on localhost if this doesnt reflect your real server envirement? You can do these kind of test (but not on localhost) with a website called https://www.blitz.io/ It shows you exactly the response times for your server, how many users it can handle till producing errors, etc. But you need to do this with a real server, not on ...



Top 50 recent answers are included