Skip to content

General Optimizations #33

@aryanjasala

Description

@aryanjasala

Hi team,
Here are a few improvements/optimizations I've in mind for the rtOptimizer plugin.

  • Selective whitelisting from concatenation

    • Currently, all of the JS is being removed from the JS concat, I believe we can selectively remove the JS that is being loaded via rtOptimizer and leave the rest of it to the concatenation itself? Instead of just disabling the whole concatenation.
  • OOPS

    • Let's use OOPS based approach for the plugin (features-plugin-skeleton?). Is there any specific reason we have not used the OOPS approach in this plugin?
    • The OOPS approach above would help make the code more structured, neat, and DRY & also help in the Selective whitelisting of concatenated assets. (to generate the whitelist here, instead of adding global variables)

    Image
    Image

Let me know your views for the same.
Thanks!

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions