The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
Grosvenor
Forum Replies Created
-
Grosvenor in reply to:
Gracefully import 30000 posts(Private) September 21, 2016 at 10:19 pm #59386Hello again,
So we were able to significantly lower the page load time by disabling Auto Count setting in S&F.
For 30 000 posts the load time of a page with S&F widget went down from 6 minutes (!!) to 7 seconds.As per our our conversation, we are considering chunking our posts in smaller groups. We ran some performance tests for 5 000 posts with Auto Count disabled. Here are the results:
Load page with S&F widget ~3.6 sec
Perform a search ~27 secondsWhile this timings are looking much better, 27 seconds is way too slow for searching 5 thousand posts.
Is there anything else we are missing?Some info about our environment:
Physical server: AWS t2.small; 2 GB memory; CPU 1 core up to 3.3 GHz
OS: Windows Server 2012
Webserver: IIS 8.5
PHP 5.6.22
Wordpress 4.6.1
S&F Pro 4.6.1
MySQL 5.6.27php max_memory_limit 256M;
WP_MEMORY_LIMIT 256M;
WP_MAX_MEMORY_LIMIT 256M;Snippet from S&F System Status:
Database
Tablewp_search_filter_cache
Exists: ✔ 204875 Rows Found
Tablewp_search_filter_term_results
Exists: ✔ 9916 Rows Found
Total Number of Fields Cached: 4Grosvenor in reply to:
Gracefully import 30000 posts(Private) September 15, 2016 at 10:48 pm #58337This reply has been marked as private.Grosvenor in reply to:
Gracefully import 30000 posts(Private) September 15, 2016 at 8:04 pm #58276Hi Trevor,
Thanks for responding after hours.
Regarding your suggestion to add individual post to the cache after each iteration: that seems like exactly what we did in APPROACH#2. Please refer my original post to see issues that we ran into with that.
Our blog is hosted in AWS cloud on a t2.small instance.
If we potentially switch to more resourceful server, which PHP settings do you recommend to change?
Grosvenor in reply to:
Multiselect ComboBox removes all options chosen when I try to type in a term(Private) August 2, 2016 at 3:23 pm #53135Hi Ross,
Are you able to do a screenshare or can you replicate this on your end? We are looking to fix this before our release in two weeks, any help would be greatly appreciated. Let me know – thanks.Tina
Grosvenor in reply to:
Multiselect ComboBox removes all options chosen when I try to type in a term(Private) August 1, 2016 at 3:25 pm #52987This reply has been marked as private.Grosvenor in reply to:
Pagination with search results not letting me click on or back to page 1(Private) July 22, 2016 at 9:15 pm #51957Great – keep us posted! Thank you for looking into this.
Grosvenor in reply to:
Pagination with search results not letting me click on or back to page 1(Private) July 21, 2016 at 4:34 pm #51839Hi Ross,
Just wondering if there were any updates on this ticket. Keep us posted if you can, and let me know if you need any additional code.Grosvenor in reply to:
Pagination with search results not letting me click on or back to page 1(Private) July 18, 2016 at 8:07 pm #51522This reply has been marked as private.Grosvenor in reply to:
Pagination with search results not letting me click on or back to page 1(Private) July 14, 2016 at 4:17 pm #51196Hi Trevor,
Here is an example of the pagination code we have:Within our index.php page: // Previous/next page navigation. the_posts_pagination( array( 'mid_size' => 2, 'prev_text' => __( 'Previous page', 'twentysixteen' ), 'next_text' => __( 'Next page', 'twentysixteen' ), 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>', ) ); Within link-template.php: function get_the_posts_pagination( $args = array() ) { $navigation = ''; // Don't print empty markup if there's only one page. if ( $GLOBALS['wp_query']->max_num_pages > 1 ) { $args = wp_parse_args( $args, array( 'mid_size' => 1, 'prev_text' => _x( 'Previous', 'previous post' ), 'next_text' => _x( 'Next', 'next post' ), 'screen_reader_text' => __( 'Posts navigation' ), ) ); // Make sure we get a string back. Plain is the next best thing. if ( isset( $args['type'] ) && 'array' == $args['type'] ) { $args['type'] = 'plain'; } // Set up paginated links. $links = paginate_links( $args ); if ( $links ) { $navigation = _navigation_markup( $links, 'pagination', $args['screen_reader_text'] ); } } return $navigation; } /** * Display a paginated navigation to next/previous set of posts, * when applicable. * * @since 4.1.0 * * @param array $args Optional. See {@see get_the_posts_pagination()} for available arguments. * Default empty array. */ function the_posts_pagination( $args = array() ) { echo get_the_posts_pagination( $args ); }
Grosvenor in reply to:
Pagination with search results not letting me click on or back to page 1(Private) July 12, 2016 at 3:31 pm #50918Ok. Is there any way I can help? Let me know if you would like to do a screenshare. I noticed the issue on our old version of the plugin, and the new.
-
AuthorPosts