![]() I will try it after inspecting the files and understanding the process. Purify CSS, JS etc looks very interesting. If there is a possibility of removing enough code to pack it all in one file, that might help. Loss of the CDN is probably counterproductive as Martin points out, and I have tried my own version of bootstrap.min css and js and it is certainly slower on my website even with compression on and caching. Then copy the website to an "lite" version, export it and then make the changes using text editor searching and making note of everything done,(removed etc) for the next time it has to be done (so it's not so time consuming), that might work reasonably well. If I keep an original copy of the website with the full CDN's and custom code intact. :PĬhris, Jo and Martin these are all good points to be considered. Keep a copy of the originals though so you can find something in case you remove something you shouldn't have. You can then remove them in BSS itself rather than from the files that are exported, or you can delete them from your custom CSS files and then reexport them into BSS. Other than that a good text editor should find them all. If it's not called for at all, that's pretty obvious if the class is one of your own added ones. Only remove the classes you are very sure are for CSS styling. Just be doubly sure that it's not a class used in JS as it can sometimes not be clear where the class is being pulled from when you look at the HTML. If you strip a lot of the default BS CSS, you may break your ability to add something later that you don't have on the site now, because you won't know what code was missing for it.įor your own added classes and ID's it's not hard to clean those up if you use a good text editor that can search all pages of your site for a class or id to see if it's used. ![]() There is also another factor to consider. ![]() If you do that, you will have to do that every time you edit them (if you plan to continue to edit the site(s) in BSS that is), which is even worse time consuming. There is also the factor of editing the sites.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |