Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

WEB : How to REDUCE UNUSED Javascript

Odebírat

Get notified when there's activity on this post

This question has been flagged
javascriptwebsite_builderwebpageminifySEO
1 Odpovědět
4486 Zobrazení
Avatar
Jozef Slivka

After webpage tests, I see clearly the largest issue (more than first 7seconds loading time) why the mobile version is performing poorly is super large UNUSED Javascripts, and it says "Reduce unused Javascript" for the following....BUT how? 
web.assets_frontend_lazy.min.js - 924KB
en_US/base.js - 602KB
recaptcha__en.js - 162KB
www-embed-player.js - 109KB
Why odoo is serving complex Javascript files, if I am not using most of it? How to minify it, or totally not used it, OR set it to be loaded as last thing, AFTER page is rendered?
At the moment JAVASRIPTS are loading as very first files, so it creates much larger Page render time fo user as it should be.

0
Avatar
Zrušit
Barry

I'm having the same issue and trying to figure out how to remove unused js. Lighthouse and WebVitals have identified the same ...lazy.min.js file as a culprit and I can't seem to access nor edit this file. This is a huge throw off for me.

No solutions on your end as yet?

Avatar
Juan Valencia
Nejlepší odpověď

Though I don't know how to reduce the size, and I'm looking for the same answer, may you post the website link you are testing, and I assume you are using PageSpeed insights?


Odoo pretty much packages the entire framework in a single JS file that is already minified, and it's loaded after the page is rendered. (it uses the defer atribute). So far there is nothing we can do to reduce that file but we can look the PageSpeed reports and find if the bottleneck is somewhere else.

0
Avatar
Zrušit
Jozef Slivka
Autor

Hi, well different tools shows different issues : https://tools.pingdom.com/ shows the F-grade "Add Expires headers" and as E grade " Compress components with gzip"...pretty important..
Pagespeed shows best savings in:
5.6s in Reduce unused JavaScript (especially important issue for Mobile users)
2s in Reduce initial server response time
seems there is alot other details which could be done in more complex way, to speed up the user experience.....from my point of view the biggest issues are mainly the biggest delays...any ideas?

Juan Valencia

That's very strange. Odoo uses nginx server and it serves files with gzip compression by default.

As for "expire headers", they are set in all resources except in the HTML page itself. Odoo doesn't cache the html page, so everytime it is called, the qweb is rendered and it serves the html page. But the resources like css, js, images, fonts, etc, they do have expire headers.

I was curious about tools.pingdom tool, tried it against to my site and it doesn't show any result in the https version. Only on the http version and shows a 301 redirect because I forwad all http traffic to https. That tool doesn't seem to support https at all. To be honest, it looks like a terrible tool. Use another one.

As for ideas... have you already configured a CDN? That alone will improve the response speed and reduce delays. There are free ones available. Even Odoo has documentation about a particular CDN.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
How to Add rel="nofollow" to External Links in Odoo?
website_builder Website SEO
Avatar
0
dub 25
2111
Need Assistance Connecting Button to JavaScript Code in Odoo 17
javascript editor website_builder
Avatar
0
bře 24
2401
Javascript loaded into website.assets_frontend only working on homepage not internal "pages" <<Solved>> Vyřešeno
javascript website_builder themes
Avatar
1
pro 23
14599
Website Builder jQuery
javascript jquery website_builder
Avatar
0
úno 22
3637
Target Specific XML Element with JavaScript
javascript customization website_builder
Avatar
0
úno 22
3175
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now