unused css and JS

hameed_hashemi2001
58 Posts
hameed_hashemi2001 posted this 25 October 2023
Ask a Question

Hi Dear Team, Since i went to optimize my website i saw there is unused css and js, which is not allowing my page for hi performance, on this case how i can solve this issue?

Best Regards

Hi Dear Team, Since i went to optimize my website i saw there is unused css and js, which is not allowing my page for hi performance, on this case how i can solve this issue? Best Regards
Vote to pay developers attention to this features or issue.
6 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 25 October 2023

Hi, Hameed,

Nicepage generates huge site files because we want our pages and themes to be customizable as much as it is possible. The more styles pages have, the more details can be customized. If the size of the site files disturbs you, you can try to optimize it, however, we do not recommend doing it as it can affect the work of the website.

If you are using CMS (WordPress and Joomla), you can also try to use third-party optimizing plugins, but we do not guarantee the stable work of your website after that.

Please let us know if you need our further help!
...................................................
Sincerely,
Paul C.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Hameed, Nicepage generates huge site files because we want our pages and themes to be customizable as much as it is possible. The more styles pages have, the more details can be customized. If the size of the site files disturbs you, you can try to optimize it, however, we do not recommend doing it as it can affect the work of the website. If you are using CMS (WordPress and Joomla), you can also try to use third-party optimizing plugins, but we do not guarantee the stable work of your website after that. Please let us know if you need our further help! ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
hameed_hashemi2001
58 Posts
hameed_hashemi2001 posted this 25 October 2023

Paul

I am using HTML and right know i have unused css and js, which its disturbing my performance and getting low. how i can fix those issues?

Paul I am using HTML and right know i have unused css and js, which its disturbing my performance and getting low. how i can fix those issues?
Support Team
Support Team posted this 25 October 2023

Hi Hameed,

You can try to use some optimization tools for the exported HTML site to minimize the code before uploading it to the hosting.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Hameed, You can try to use some optimization tools for the exported HTML site to minimize the code before uploading it to the hosting. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
hameed_hashemi2001
58 Posts
hameed_hashemi2001 posted this 25 October 2023

My website its on live. i can not export my html. is there any other way to remove the css and js?

My website its on live. i can not export my html. is there any other way to remove the css and js?
hameed_hashemi2001
58 Posts
hameed_hashemi2001 posted this 25 October 2023

can i use Lazy loading for CSS?

can i use Lazy loading for CSS?
Support Team
Support Team posted this 26 October 2023

Hello Hameed,

If you know that you have unused CSS and JS, take and clear them by hand.
While the Nicepage team warned you that this would not be a good way to go, I also warn you that you need maximum precision when deleting any code.
You may know that something is not being used right now, but it will be needed to process the data after it arrives. And now if the data doesn't come any and the styles and code are there to process it and if you delete it. Then, when the data arrives, Nicepage will no longer be able to process this data.
Even if you are a very cool developer with absolute accuracy, it will still be difficult for you to read the code and see which part of the code does what.
Use some plugin to search the internet but this is not an ideal way either, again We warn you not to cause any problems. Because you can't write to the deleted one. In the last case, cut it and save the cut code fragment to put it back in case.
...................................................
Sincerely,
George.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Hameed, If you know that you have unused CSS and JS, take and clear them by hand. While the Nicepage team warned you that this would not be a good way to go, I also warn you that you need maximum precision when deleting any code. You may know that something is not being used right now, but it will be needed to process the data after it arrives. And now if the data doesn't come any and the styles and code are there to process it and if you delete it. Then, when the data arrives, Nicepage will no longer be able to process this data. Even if you are a very cool developer with absolute accuracy, it will still be difficult for you to read the code and see which part of the code does what. Use some plugin to search the internet but this is not an ideal way either, again We warn you not to cause any problems. Because you can't write to the deleted one. In the last case, cut it and save the cut code fragment to put it back in case. ................................................... Sincerely, George. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments