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

More
12 years 2 weeks ago - 12 years 2 weeks 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 2 weeks ago by Eugene Sivokon.

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

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

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

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

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

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

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

Powered by Kunena Forum

Last from the forum

    • jomexej304
    • The crimson peony shrimp sushi is big. The shrimp body is almost 9 centimeters long. It's miles sweet and chewy. The beef is thick and very scrumptious. The clam meat cooked with sake is sweet and has no sand. 
    • In Component / Afisha Joomla
    • Баг?
    • У меня одна категория материалов. В этой категории несколько сотен материалов. Есть несколько кастомных полей.Первое типа list (categorywork), другие* list c мультивыбором. Другие* зависят от первого Атрибут showon (categorywork:1, categorywork:2 и так далее). Какие настройки я должен сделать на вкладке "Параметры фильтрации", что бы в модуле подбора вылезали не сразу все "Другие", а только та, которая зависит от showon (как это реализовано в Joomla)? Установлена Joomla 5.1.4 + JL Content Fields Filter v.3.0.0 То есть вылезают все select, даже те которые содержат в себе параметры отсутствующие у материалов (не назначенные к материалам). Изображения: раз: drive.google.com/file/d/1wDtY_iBL5StjrTv...3co/view?usp=sharing два: drive.google.com/file/d/1Vqy5MlJWC15i3z1...nbo/view?usp=sharing
    • In Modules Joomline / JL Content Fields Filter
    • sports
    • Tesla CEO Elon Musk was snubbed from TIME Magazine’s “Most Influential People in AI” list, despite being the driving force behind the company’s self-driving efforts, data collection, and the development of the humanoid robot Optimus, along with other projects, like xAI. TIME released its list today, highlighting what it intended to be a compilation of the most brilliant names in AI. Those on the list have achieved big things, and the names on the list are not to be discredited in any way. Some of the names on the list are the biggest in tech and AI development. Jensen Huang, CEO of Nvidia, Sam Altman, CEO of OpenAI, Satya Nadella, CEO of Microsoft, and Mark Zuckerberg, CEO of Meta, are all included on the list. These are just a few of the names that TIME listed as the most influential in AI, but Musk was not included.  
    • In Общий форум / Общие вопросы по Joomla
© 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.