Home › Forums › WoodMart support forum › Old prefix CSS
Old prefix CSS
- This topic has 13 replies, 3 voices, and was last updated 3 years, 2 months ago by Artem Temos.
-
AuthorPosts
-
June 22, 2021 at 12:12 pm #301404
camilo517ParticipantWoodmart has obsolete css prefixes that are no longer necessary, you can achieve a significant decrease in the size of the CSS files
Use this tool to check: https://yellowlab.tools/June 22, 2021 at 1:28 pm #301438
Artem TemosKeymasterHello,
Could you please specify where exactly do you see these prefixes in our theme styles? Please, show us some examples from the code. Note that this service checks the whole website, not only the theme.
Kind Regards
June 22, 2021 at 5:02 pm #301503
camilo517ParticipantFor example: woodmart/css/parts/base.min.css -ms-touch-action
June 23, 2021 at 7:28 am #301657
Bogdan DonovanKeymasterThanks for your advice. We will reconsider theme style prefixes and make necessary changes in the next theme update.
Kind Regards
June 23, 2021 at 7:32 am #301658
camilo517ParticipantThanks
and this please
Please don’t load js and queries in /wp-admin/plugins.php
wp-content / themes / woodmart / inc / admin / assets / js / vc-fields / slider.js
wp-content / themes / woodmart / inc / admin / assets / js / vc-fields / responsive-size.js
etc
This greatly improves the performance of wp-admin, something to be appreciatedJune 23, 2021 at 7:46 am #301665
Artem TemosKeymasterThese JS files are required for WPBakery page builder to make all our theme fields work correctly. We can’t load them on particular pages only, that is why we load them globally.
June 23, 2021 at 10:25 am #301729
camilo517ParticipantYes, but I don’t use wpbakery, I use elementor and it still loads in the wp-admin
June 23, 2021 at 12:12 pm #301791
Artem TemosKeymasterOK, we will remove them completely if the WPBakery page builder is not activated in our next update.
June 24, 2021 at 7:30 am #302073
camilo517ParticipantHi, thanks for making the admin dashboard faster
Can we keep removing js that are not needed?
This loads into /wp-admin/plugins.php
/wp-content/themes/woodmart/inc/admin/assets/js/wp-color-picker-alpha.js?ver=6.1.1Also this query is made in /wp-admin/plugins.php
SHOW TABLES
WHERETables_in_true
LIKE ‘cr6wPeGq_woodmart_wishlist_products%’
ORTables_in_true
LIKE ‘cr6wPeGq_woodmart_wishlists%’and
SELECT t.term_id AS id, t.name AS post_title, t.slug AS post_url, parent AS parent
FROM cr6wPeGq_terms t
LEFT JOIN cr6wPeGq_term_taxonomy tt
ON t.term_id = tt.term_id
WHERE tt.taxonomy = ‘product_cat’
ORDER BY nameJune 24, 2021 at 1:53 pm #302212
Artem TemosKeymasterSure, we will review both in our update and do the necessary to fix them.
June 26, 2021 at 12:38 am #302581
camilo517ParticipantAnother way to improve performance would be to use content-visibility
https://web.dev/content-visibility/
.class {
content-visibility: auto;
contain-intrinsic-size: 877px; / * section height * /
}This greatly improves performance, it is not very complicated to implement. I would say that it would be the first topic to include it
It could be done as an option to activate or deactivate
ThanksJune 28, 2021 at 6:39 am #302972
Artem TemosKeymasterHello,
Thank you for the recommendation. We will review this in our future updates also.
Kind Regards
September 14, 2021 at 10:02 am #318445
camilo517ParticipantThis has not been fixed yet, there are many queries, js etc that are loaded in the administrator when it is not necessary
September 14, 2021 at 12:04 pm #318493
Artem TemosKeymasterWe haven’t fixed SQL queries yet. We need more time to investigate this issue so we will fix it in our next update. Sorry for the inconvenience.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register