Tag Info

New answers tagged

0

Would using static home page and wordpress only as a blog increase page speed instead of using a Wordpress template to run the whole show? If it did, it would only increase the speed of the homepage. Would I achieve the same effect using cache tools? As a general rule yes – all cached pages (unless a user is logged in, when pages aren't normally ...


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 ...



Top 50 recent answers are included