This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 4 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Odd behaviour (maybe bug)
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 4 months ago.
This may be todo with my setup (though I can’t think why) but if I enable the option Layout options – > Search box layout – > Hide the search box completely, display settings only?
A page loading the search via a shortcode increase its load time significantly waiting for asp-core.js with the setting active.
Oddly the load time (time for the Frontend filter to appear) is even adversely affected if I used custom CSS to display:none the search bar which I’m very confused about.
The following custom CSS on the div did not affect load time
visibility: hidden;
height: 0;
Oddly the effect is not seen with the following PHP filter active
add_filter( 'asp_load_css', 'asp_stop_load_css', 10, 1 );
function asp_stop_load_css( $stop ) {
return true;
}
Hi,
May I ask how did you exactly measure that?
I tried to measure the execution time via lighthouse and performance reports, but the asp-core.js script has the same execution time on my end for both cases.
Thank you very much!
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |