gullerya / object-observer

Object Observer functionality of JavaScript objects/arrays via native Proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Lite Version of Object Observer

AjayTheWizard opened this issue · comments

I am happy to found this Awesome Library. But Only Problem is bundle size for non CDN Users.
Compressed Size is ~8kB. Is there any chance of making Lite Version of this Library?
Thanks in Advance.

Hi, thanks!
You can take a look onto the sources, it's just one file. I can't see a way to make it lighter.

Yet - just looking how the downloads look like (it's gzipped, or something like that):

  • non-minified downloaded as 4.7kB (before gzipping ~18kB)
  • minified downloaded as 3.4kB (before gzipping ~9kB)

So any zipping like gzip lowering it down even more, most of the servers are supporting that, so even if you are not using CDN, but serving those files via your server/CloudFront/S3 etc - most likely minified download would be 3.4kB.

Closing this - no action item visible/possible as of now.