Alto with double speed (Article)

hello everyone,
This is an article How make altocms much faster?

for step 1:

Find 'http://yandex.st/share/share.js' => array('merge'=>false), in config.php and change with '___path.root.web___/templates/framework/js/share.js' => array('merge'=>false),.

step 2:

Download file attach and extract of zip .

http://www.upload.1mohajer.com/do.php?filename=1370328326241.zip

step 3:

upload share.js in templates/framework/js folder.

Finish :-) now your website has double speed.

Source: http://ir-panel.ir/index.php?/topic/21-%D8%A7%D9%81%D8%B2%D8%A7%DB%8C%D8%B4-%D8%B3%D8%B1%D8%B9%D8%AA-%D8%A2%D9%84%D8%AA%D9%88/

17 комментариев

0
Download file attach and extract of zip.

www.upload.1mohajer.com/do.php?filename=1370328326241.zip
This file can be downloaded directly from http://yandex.st/share/share.js
0
yes can be
0
double speed
I doubt it…
0
Do try and see :-)

This issue is about called {$aHtmlHeadFiles.js} in header file. and this code called share.js from another server so, you will see your site loader is so long, when you called share.js from your host with my article you will see your header js load very fast because it is loaded from your host no busy server that everyone loading from there.
+1
What is the difference in speed between my server and Yandex?
Yandex server is slow?
0
Then continue the theme, recommend and fonts to download locally, not from the google servers
0
For sure
0
No Yandex is not slow, but because a lot of users are using the server and the server responds so late.
I don't know how much you know about IP Ports but whatever distance be far total sent and receive is more,

For example:
Do you know how many websites and members are using of this server load in them sites in per second??
0
If you believe that, you can also download to your server fonts, and not take them from google server :)
0
oops, repeat…
+1
Its delusion. From Yandex CDN it will be downloaded faster because it is already cached for that url from other sites.
0
Just i give you suggest to try this way for see difference between speed from before and after.
its up to you which-one you want to use but please before try don't say its delusion!
+1
I know what I said.
From YaCDN it will be cached once at all and all visitors of sites under control of LS/A will not download this file again — their browsers will got this file from its cache.

Your solution is fast only locally for one site (because this file will be packed into one solid js file). But:
1. You need to watch if yandex changes something in code. From CDN all users will receive new version automatically.
2. Thinking about users it is better to have one cached file for all LS-based sites than to load this lib for each site immediately.

..You don't save GA scripts, doesn't you?
+2
Plus, as i know, yandex policy prohibits cache or store their system js files on your server(yandex maps js or other, i think yandex share too).
0
Article, related to this post
0
Те, кто следят за репозитарием, могли заметить, что эта расширенная версия yashare (со счетчиками) при просмотре топика была внедрена более месяца назад.
Отредактирован:
0
Не отсюда ли растут ноги «вируса share.js»?
Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.