• Resolved ragasupmu

    (@ragasupmu)


    Hi

    This is my configuration:
    Wordpress 5.8.3
    No plugin
    Theme : twenty twenty-one
    Environment: local / Apache 2.4.46 / Php 7.4.9 / MySQL 5.7.31

    For information, i have more than 6000 categories.

    My problem is the categories show slow to display in edit post with new editor gutenberg and once all is charged, no categories are selected.

    In Webtools, there is the REST API webservice which called many times :
    /wp-json/wp/v2/categories?per_page=100&orderby=name&order=asc&_fields=id%2Cname%2Cparent&_locale=user

    Each call takes 600 ms.

    This is a screenshot : https://www.pocomdesign.com/gif/screenshot_category_load.jpg

    Please can someone help me to speed up things and automatically select right categories

    Thanks

    Laetitia

Viewing 5 replies - 1 through 5 (of 5 total)
  • Depending on your hosting providers configuration it would take a while for 6000 categories to load. In my experience most sites have 150 categories at most. I would suggest cleaning up the categories and checking with your host about the speed of the database connection.

    Thread Starter ragasupmu

    (@ragasupmu)

    Thanks for your answer.
    I don’t have hosting provider because m’y website is in local on my computer.

    for categories, there are many because the site is a comic book site. Each comic author is a category in order to display his list of comics.

    I don’t choose this architecture.

    Anyway, do you have an idea to resolve this problèm ?

    Thanks a lot

    Generally, I would need to know your current architecture/configuration to make a suggestion. It sounds like you are using a fairly slow internet connection compared to the one most hosts would be using though so that might be part of what is causing the slow load.

    Thread Starter ragasupmu

    (@ragasupmu)

    Hi,
    I’m sorry to insist but I work in localhost on my machine. I don’t need internet to test my local website. So I don’t have any problem about slow transfert data or slow internet connection. My database is on my computer and my wordpress too.

    My architecture is :
    Wordpress 5.8.3
    No plugin
    Theme : twenty twenty-one
    Environment: local / Apache 2.4.46 / Php 7.4.9 / MySQL 5.7.31`

    I have 6000 categories and 10 000 posts around.

    In administration, to display 1000 categories, i have no problem but when I am in Gutenberg editor, to load categories is very slowly, see screenshot https://www.pocomdesign.com/gif/screenshot_category_load.jpg

    And moreover, the categories linked with the posts are not checked.

    When I change the editor by “classic editor”, to load the list of the categories is ok.
    But in gutenberg editor, the loading of the list of the categories are very slowly.

    I see in gutenberg editor, that uses pagination services (call categories by 100), see the screenshot
    https://www.pocomdesign.com/gif/screenshot_category_load.jpg

    I am very blocked and I don’t find solutions.

    Thanks for your help.

    Thread Starter ragasupmu

    (@ragasupmu)

    After my search again about the subject, I found finaly an answer in this post :

    https://github.com/WordPress/gutenberg/issues/10169

    If I understand well, the feature is ok for tags but not developped yet for categories.

    The solution is used classic editor and wait the new improvment about gutenberg

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘v5.8.3 Categories Slow to Display’ is closed to new replies.