Any plan for angularjs compatibility?

33 views
Skip to first unread message

ra...@quantummethod.org.bd

unread,
Jan 8, 2016, 3:13:32 AM1/8/16
to ngx-pagespeed-discuss
I tried to use the pagespeed nginx module for my angularjs based site.

What I found is, it cannot rewrite images came from angular templates. That includes like <img ng-src="my-img.jpg" />.
This is very obvious, because it is rewriting source from html file and not from a ajax request.
However, if anyone got any workaround or plan to work on it, please let me know.

Otto van der Schaaf

unread,
Jan 8, 2016, 4:28:44 AM1/8/16
to ngx-pagespeed-discuss
Would adding ng-src as an url-valued attribute [1] work?:

E.g: 

pagespeed UrlValuedAttribute img ng-src image;

Reply all
Reply to author
Forward
0 new messages