Привет, коллеги

More
12 years 8 months ago - 12 years 8 months ago #3301 by Eugene Sivokon
Привет, коллеги. Оптимизируем наш joomlablog.ru и прошлись по скриптам. Обратил внимание на исходный вес скриптов. На выхлопе mod_jlvkgroup дает аж три файла:

файл: компресс. исходный размер:
vk.com/js/al/lite.js?41 34 KB 101 KB
vk.com/js/lang0_0.js?6332 17 KB 53 KB
vkontakte.ru/js/api/openapi.js 16 KB 50 KB

весьма прожорливо. возможно ли как-то сократить вес и подгружать один скрипт?

при этом, в самом модуле вызов один: document.write(unescape(''<script type="text/javascript" src="vkontakte.ru/js/api/openapi.js">%3C/script%3E'')

возможно ли для модуля загрузить только одну необходимую библиотеку?
Last edit: 12 years 8 months ago by Eugene Sivokon.

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago - 12 years 8 months ago #3302 by Eugene Sivokon
пардон, я ошибся - речь шла о модуле JL Google Badge. Мы у вебя заменили временно гавиковским модулем, но вы у себя проверьте на демо полигоне. Есть подозрение, что G+ изменили немного API.
Last edit: 12 years 8 months ago by Eugene Sivokon.

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago - 12 years 8 months ago #3303 by JoomLine
нет вконтактик будет вызывать все сразу... в любом случае даже если прямую вставку делать... такова природа фреймовых приложений.
Last edit: 12 years 8 months ago by JoomLine.

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago - 12 years 8 months ago #3304 by JoomLine
сейчас разберемся с лайками... новой версией и я сяду разбирать гугл бейдж... однако обновления если будут то только уже для joomla 2.5.
Last edit: 12 years 8 months ago by JoomLine.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • psyllium fiber capsule manufacturing
    • Our process combines cutting-edge encapsulation technology and meticulous quality assurance, ensuring every capsule delivers optimal fiber content and efficacy. Rigorously tested for contaminants and uniformity, our capsules are trusted by leading wellness brands who value transparency, consumer safety, and nutritional performance.  
    • In English Forum / Component
    • Is Kamagra Oral Jelly Safe for Long-Term ED Treatm...
    • can be effective for treating erectile dysfunction, but its safety for long-term use depends on individual health factors and medical guidance. The active ingredient, sildenafil citrate, is generally well-tolerated when taken as prescribed. However, regular or prolonged use without a doctor’s supervision can increase the risk of side effects such as headaches, dizziness, indigestion, nasal congestion, and visual disturbances. For long-term treatment, it's important to consider the underlying cause of ED, such as cardiovascular issues, diabetes, or stress, and address it alongside medication. Using Kamagra Oral Jelly and occasionally and under medical advice may be safe for many men, but it should not be used as a permanent solution without medical oversight.
    • In Component / Afisha Joomla
    • greensocialteam
    • Su Hailin entered the Japanese AV industry under the stage name "Erina". After her debut, she attracted many haters who kept scolding her online. She held a "Face-to-face meeting with haters" in Mong Kok yesterday (May 10). Beforehand, she publicly named 9 black fans who often attacked her, hoping to meet and talk in person. However, the night before the event, Su Hailin stated on social media that the police opposed her holding the event on the street and that it would eventually have to be held in a party room. However, all the haters disappeared, and instead a large number of fans showed up to support her. Su Hailin also announced that a photo exhibition will be held next month, and haters are also welcome to visit.  
    • In Component / JL Mail
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.