Tungsten.js & Function.Js
Permalink
I have these two scripts on a website that I am managing.
I am trying every trick in the book to speed up the website, can I remove these scripts they
don't appear to do anything, and they look like font scripts??
The Website is:http://www.addfield.co.uk
I am trying every trick in the book to speed up the website, can I remove these scripts they
don't appear to do anything, and they look like font scripts??
The Website is:http://www.addfield.co.uk
I would love to upgrade concrete5 but seems to risky, as you can see it is a business website. And down time means lost customers and money plus call me a chicken.
The two files I put together under one js file:
http://www.addfield.co.uk/js/allscripts.js...
Again to speed up response times. I thought they are standard scripts.
The two files I put together under one js file:
http://www.addfield.co.uk/js/allscripts.js...
Again to speed up response times. I thought they are standard scripts.
Yeah, I figured as much, and that was why I suggested a development environment where you can play around with it all without any downtime.
Anyways, I totally understand if you don't want to take on the job since your site might require 200+ hours to upgrade.
Function.js doesn't do much and you can leave it as it is (not much impact) or move the styles into your iGotStyles.css as to not have a js call to the styles.
Tungsten.js is indeed a font, but looking at your theme css the font is not in use. Look through your stylesheets and see if you can find any reference to
If you can't find any reference to the font you can safely remove it from allscripts.js (but keep a backup of your original allscripts.js in case you have missed a reference somewhere).
Anyways, I totally understand if you don't want to take on the job since your site might require 200+ hours to upgrade.
Function.js doesn't do much and you can leave it as it is (not much impact) or move the styles into your iGotStyles.css as to not have a js call to the styles.
//functions.js Cufon.replace("header nav>ul>li>a, .largeBlue, .largeGrey, #mainShell h1, #mainShell h2, blockquote.green cite strong"); Cufon.replace(".powerPhraseDetails .slideLargeText, .powerPhraseDetails .slideMediumText, #sliderShell .page_title", { textShadow: "1px 1px #000" }); Cufon.replace(".powerPhraseDetails .slideButton", { textShadow: "1px 1px #3c5319" });
Tungsten.js is indeed a font, but looking at your theme css the font is not in use. Look through your stylesheets and see if you can find any reference to
font-family:tungsten-medium;
If you can't find any reference to the font you can safely remove it from allscripts.js (but keep a backup of your original allscripts.js in case you have missed a reference somewhere).
Version 5.6+ has done a lot for speed, and 5.6.1.2 is by far the best release I have ever worked with (and I started out with 5.4.1). A lot have happened in the last two years (since 5.4.2.2) both under the hood and in UI so you should try them out in a development environment just to see the impact on your existing site and all add-on, packages and custom blocks you might use. The upgrade will be a major task for you, but in the end you will have a faster and more secure site with better permissions control, fancier UI, better cache, improved stability and easier workflows. Be aware though, it is a big difference and you will find it a bit overwhelming at first (and probably be pi**ed on some features not being as they have 'always been') but after you have worked with it some time you will come to terms with the new UI and the use of Stacks (instead of Scrapbook) and also come to love the new and better overrides.