Giter Club home page Giter Club logo

Comments (10)

IP-CAM avatar IP-CAM commented on August 24, 2024

Well, it's a free Software, you're talking about, so better don't expect
a tuned Race Horse. But it can be tuned relatively easy, if one follows
the advises from GTMetrix & Co.
Ernie

from opencart-overclocked.

Tangol avatar Tangol commented on August 24, 2024

@IP-CAM I know it's free software, but taking into consideration @villagedefrance desire to make it faster, richer, leaner and even more user friendly (hence the name Overclocked), I think it's important to point out every little issue, so it can be fixed/tuned to perfection :)
That's why I've also suggested this #98

Cheers!

from opencart-overclocked.

villagedefrance avatar villagedefrance commented on August 24, 2024

Achieving 100% optimization is extremely hard (as @IP-CAM can confirm being himself quite good at it).
I do try my best to produce a clean validated code but some parameters are at server level, which I can't control. Also, I would like to point out that OCE is almost fully self-contained and has hardly any remote CDN dependencies. This makes OCE strong and reliable in my opinion but that means slightly longer page loading times. I have done a lot of work on caching to compensate for this.
Anyhow, if you have any suggestions or performance tips, feel free to share them.

from opencart-overclocked.

Tangol avatar Tangol commented on August 24, 2024

After the recent code optimisation/validation, I'm curious to see if v1.11.0 gets a better score than this:
v1102 score

from opencart-overclocked.

villagedefrance avatar villagedefrance commented on August 24, 2024

I'm looking forward for your results.

from opencart-overclocked.

Tangol avatar Tangol commented on August 24, 2024

I've noticed that OpenCart-Overclocked loads all the resources at the top of the page.
Best practices say that only css and and mandatory (to render the page) js should be loaded in the <head>.
All other resources should be loaded at the bottom of the page, before </body>.

Best practices 1
Best practices 2 (on Rails but it also works for html/php)

scripts

from opencart-overclocked.

Tangol avatar Tangol commented on August 24, 2024

Please note that I've noticed an error when inspecting the index page.

err

The error also appears when inspecting the admin page.

err2

Tested on cd4ab80

from opencart-overclocked.

Tangol avatar Tangol commented on August 24, 2024

Found another one:

err3

  • Also, if most of the JS code has been refactored, do we still need to keep both versions of jQuery Migrate? Eliminating v1.4.1 would make the page load faster.
    jq

Tested on 5254190

from opencart-overclocked.

villagedefrance avatar villagedefrance commented on August 24, 2024

Yes, I am in the process of converting the jQuery code everywhere in order to remove jQuery Migrate v1.4.1. Catalog should be good to go, but not Admin just yet.

from opencart-overclocked.

Tangol avatar Tangol commented on August 24, 2024

pagespeed

I just did another test on v1.11.0 and the performance increase is amazing!

I consider this task/report fulfilled.
Can be closed.

Thanks a lot Philippe!

from opencart-overclocked.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.