Sanchit Varshney
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Slow Add/Edit Page/Post Pages on DashboardHere’s a Image of Query Monitor showing the query with time it is taking.
Forum: Plugins
In reply to: [WooCommerce] Website getting slowForum: Plugins
In reply to: [WooCommerce] Website getting slowI am using a custom theme which does not use woocommerce blocks, So why is it getting triggered? Also the expiration is 30 days, but still, it is triggering every time a user is on the website. Why does this even trigger for the front end of the website as this is related to API so needs to trigger for API requests only?
Forum: Fixing WordPress
In reply to: Append external domain to Image URLsuse
function change_image_url( $image, $attachment_id, $size, $icon ){ $otherthumb = str_replace("https://", "https://cdn.statically.io/img/", $image[0]); return $otherthumb; } add_filter( 'wp_get_attachment_image_src', 'change_image_url', 10, 4 );
Hope this help!
Forum: Fixing WordPress
In reply to: WordPress website home page takes too much time to loadYour home page is slow because of a file being timeout after 1.1 Minutes which is a long time. File name is ads-square.jpg. You should remove it from your homepage. This image exist in “MY READING HISTORY” section of your homepage.
Forum: Fixing WordPress
In reply to: Word press blogIt looks like, Your pages are being opened in an iframe. That’s why only inner content is being changed when you click on any of those blogs and URL not getting changed. Basically your first blog link is https://megamindlearning.com/blogs/prepare-middle-school/ which looks fine but getting open in the iframe.
- This reply was modified 3 years, 5 months ago by Sanchit Varshney.
Forum: Fixing WordPress
In reply to: _get_list_table taking 4 seconds to loadThanks for the solution, I am thinking the same to create a custom list class.
Forum: Fixing WordPress
In reply to: _get_list_table taking 4 seconds to loadpost_status and post_author is already an index on DB
Forum: Fixing WordPress
In reply to: _get_list_table taking 4 seconds to loadI have like 3 Million Orders on the website and this function keep getting triggered. It’s inside /wp-admin/edit.php at line no. 47. Whenever the WP_Posts_List_Table initialises and check for the count with the above query I mentioned which takes like 4seconds.
Forum: Fixing WordPress
In reply to: _get_list_table taking 4 seconds to loadBut WP_Posts_List_Table class belongs to WordPress and function (_get_list_table) being called through wordpress on edit.php by default. @alanfuller
If you can help with this function, then it would be very helpful for me. As my website has over 100Gb of Data and this count query is making Orders Table so slow. Basically It’s WordPress Posts as Orders are basically WordPress Posts.
- This reply was modified 3 years, 8 months ago by Sanchit Varshney.