WPIntell

Source evidence

Conditionally load assets

Tambar – Bottom Admin Bar · support · 2024-03-09T22:13:00+00:00

mixedsentiment
lowseverity
0.51relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 31 rows with source links

16.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
JeanPaulH resolved
Hi.I like the plugin, but could you please load the needed assets (js/css) conditionally so they’re only loaded when needed by the plugin? Right now Tambar’s js and css files are also loaded for anonymous users which leads to poor page performance and a lower Pagespeed and GTMetrix score. Thank you! Hello! Thank you very much, this is a very good comment and suggestion. I have updated the plugin version to 2.1.9. Since this version Tambar includes CSS and JS files (and changes the body tag classes) only if the is_admin_bar_showing() function returns true.

Comments

1 shown
Yan Metelitsa 2024-03-17T23:59:00+00:00

Hello! Thank you very much, this is a very good comment and suggestion. I have updated the plugin version to 2.1.9. Since this version Tambar includes CSS and JS files (and changes the body tag classes) only if the is_admin_bar_showing() function returns true.