performance - Are pages consuming more server resources than posts?

Is there any performance difference between the way wordpress handle pages and posts when i'm querying for them ?In

Is there any performance difference between the way wordpress handle pages and posts when i'm querying for them ?

In the same way, is there any performance difference between hierarchical custom post types (that are behaving like pages) and non hierarchical custom post types (that are behaving like posts) when i'm querying for them ?

The context of this question is : as i'm building a multilingual website and as custom taxonomies slug aren't translatable (in a multilingual context), i was about to simply use native pages (whose slug are translatable) in order to build a parent-page/child-page relationship instead of using custom taxonomies.

Is there any performance difference between the way wordpress handle pages and posts when i'm querying for them ?

In the same way, is there any performance difference between hierarchical custom post types (that are behaving like pages) and non hierarchical custom post types (that are behaving like posts) when i'm querying for them ?

The context of this question is : as i'm building a multilingual website and as custom taxonomies slug aren't translatable (in a multilingual context), i was about to simply use native pages (whose slug are translatable) in order to build a parent-page/child-page relationship instead of using custom taxonomies.

Share Improve this question edited Nov 21, 2019 at 23:24 PhpDoe asked Nov 21, 2019 at 21:14 PhpDoePhpDoe 2992 silver badges11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Pages and posts are identical in performance at first, as they are loaded from the same table: wp_posts. However if the theme is including in the render for the page widgets or meta or taxonomies, they could vary greatly on performance, but a priori can't be affirmed one or other is more performant.

It is really a matter of the render and assets that your theme is including. For example a post could be very fast to load and other post in the same could load tons of resources. Same thing for pages. They are basically the same by themselves.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744979896a4604378.html

相关推荐

  • performance - Are pages consuming more server resources than posts?

    Is there any performance difference between the way wordpress handle pages and posts when i'm querying for them ?In

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信