-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when checking [JS]/[CSS] loading #3273
Comments
@universewrld This is going to be on you to optimize your website. I will provide some tips for you. You need to make sure that you have enabled "Production" mode in Gantry 5 instead of "Development" mode. https://docs.gantry.org/gantry5/configure/extras. You will want to use a CDN like Cloudflare. While not necessary, it will help. You should use SEO tools to compress and minify the html, css, & js yourself. Here are some great extensions I use to accomplish this from Kubik-Rubik.de. JCC - JS CSS Control allows you to disable JS or CSS files that aren't needed on specific pages instead of loading everything. DSC - Device Specific Content can help you to load text and modules, etc... based on the detected device type. PCE - Page Cache Extended not only caches the files and is a replacement for the Joomla cache, but it also works with the DSC extension I linked above and creates Device Specific files. EPB - Easy Performance Booster speeds up the loading time of your Joomla! website. This plugin improves the loading performance significantly by minifying, concatenating and caching static files (JavaScript and CSS) and minifying the main HTML output. LLFJ - Lazy Load for Joomla With this plugin, images are only loaded when a visitor scrolls to the images. I use more of his extensions than this but those are specific to your request. I also use this Critical Path CSS Generator to speed up page load times. What is the Critical Path CSS I hope this information helps you to speed up your site and get the results you are looking for. |
@N8Solutions I did not ask for information about the chat bot with AI, I indicated in the screenshot links to specific This is a @gantry problem, not the entire website, and here are the files that relate to Gantry, and not to all components of my website. You didn't even try to look at the screenshots of what files I pointed to. |
@universewrld Chatbot... Really? Everything written is my own words. I have a very good understanding of Joomla and Gantry 5. Do you? |
While testing a site with the @gantry 5 template via @google PageSpeed Insights, I found the following errors related to the
js
/css
:Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to reduce Javascript execution time.
Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. Learn how to eliminate render-blocking resources.
Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. Learn how to reduce unused CSS.
Minifying CSS files can reduce network payload sizes. Learn how to minify CSS.
Minifying JavaScript files can reduce payload sizes and script parse time. Learn how to minify JavaScript.
Source maps translate minified code to the original source code. This helps developers debug in production. In addition, Lighthouse is able to provide further insights. Consider deploying source maps to take advantage of these benefits. Learn more about source maps.
Joomla 5.1.4, Gantry 5.5.19
The text was updated successfully, but these errors were encountered: