Forums / Cotonti / Core Labs / Archive / The wishlist

The wishlist from Megamind Magazine running Cotonti

aiwass
#25807 2010-08-27 02:18
4. The reason I would like to see a content delivery network or content distribution network (CDN) for the jQuery file is just that. If you are visiting from any other website that uses the Google libs for jQuery, then the time for loading your website is far less then if you load the jQuery script each time a visitor visits your website. Also, it's maintained and always guaranteed to be available. I have used it on my website for 8 months now and it's great.

Exemple:
- Take the jquery file on cotonti.com it weighs 55.9kb and 55.9kb is transferred.
- Google Api's jQuery file on my website (url stated above) is 70.5kb but only 24.1kb is transferred, hence smaller footprint

5. To clarify the amount of javascript's loaded when accessing a page (logged in or not) is 8 + 2 extra CSS files + 1 inline script. All are added below. I think that this could be lowered by combining and maybe even eliminating small, unessential scripts that are loaded each time you enter a page on a Cotonti based website. A smaller footprint is the basic idea that I'm after. My site as pasted below is already "slimmed" as I have stripped away access fat. Load this page on this site and take a look on how many .js .css files you can find ( http://www.cotonti.com/docs/en/user/66 ). Get my point?

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script type="text/javascript" src="rc.php?uri=js/base.js"></script><script type="text/javascript" src="./images/smilies/lang/en.lang.js"></script>
<script type="text/javascript" src="./images/smilies/set.js"></script>
<script type="text/javascript" src="./plugins/markitup/js/jquery.markitup.js"></script>
<script type="text/javascript" src="./plugins/markitup/lang/en.lang.js"></script>
<script type="text/javascript" src="./plugins/markitup/js/jqModal.js"></script>
<script type="text/javascript" src="./plugins/markitup/js/set.js"></script>
<link rel="stylesheet" type="text/css" href="./plugins/markitup/skins/markitup/style.css" />
<link rel="stylesheet" type="text/css" href="./plugins/markitup/style.css" />
<script type="text/javascript">
//<![CDATA[
mySettings.previewAutorefresh = true;
mySettings.previewParserPath = "plug.php?r=markitup&x=f2b4135c000be483";
mini.previewAutorefresh = true;
mini.previewParserPath = mySettings.previewParserPath;
$(document).ready(function() {
$("textarea.editor").markItUp(mySettings);
$("textarea.minieditor").markItUp(mini);
});
//]]>
</script>
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com