Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[02:10:58 CDT(-0500)] * Topic is 'http://uportal.pastebin.com/ - https://wiki.jasig.org/display/UPC/uportal+IRC+Logs' set by EricDalquist!~apollo@76.210.64.142 on 17:44:12 CDT(-0500)

[02:20:13 CDT(-0500)] * Topic is 'http://uportal.pastebin.com/ - https://wiki.jasig.org/display/UPC/uportal+IRC+Logs' set by EricDalquist!~apollo@76.210.64.142 on 17:44:12 CDT(-0500)

[08:27:26 CDT(-0500)] <dd> hello

[11:13:47 CDT(-0500)] <b-sure> hello uPortal devs. good morning. Is there a way to disable aggregation of the css and js by way of configuration?

[11:14:20 CDT(-0500)] <EricDalquist> -Dorg.jasig.resourceserver.utils.aggr.aggregated_theme=false

[11:14:25 CDT(-0500)] <EricDalquist> set that JVM system property

[11:14:29 CDT(-0500)] <EricDalquist> that disables aggregation

[11:14:37 CDT(-0500)] <EricDalquist> JVM Wide

[11:14:41 CDT(-0500)] <b-sure> sweet. thanks EricDalquist.

[11:15:39 CDT(-0500)] <b-sure> might that make its way into a property in a properties file for a future release?

[11:16:02 CDT(-0500)] <EricDalquist> nope

[11:16:12 CDT(-0500)] <EricDalquist> the way the aggregation works

[11:16:16 CDT(-0500)] <EricDalquist> and the cross-context nature of it

[11:16:26 CDT(-0500)] <b-sure> oh I see.

[11:16:31 CDT(-0500)] <EricDalquist> means that it is only really controlable via a jvm level property

[11:16:47 CDT(-0500)] <EricDalquist> I suppose someone could write code that took the portal.properties value

[11:16:57 CDT(-0500)] <EricDalquist> and did a System.setProperty on JVM startup

[11:17:07 CDT(-0500)] <EricDalquist> but the ultimate control needs to be a JVM property

[11:18:46 CDT(-0500)] <b-sure> makes sense. I just think it would be convenient for me as the app admin if I didn't need to get the web admins involved to set it when the portal is deployed. Maybe I'll just add it as a customization for now.

[11:19:11 CDT(-0500)] <EricDalquist> just curious

[11:19:17 CDT(-0500)] <EricDalquist> why are you deploying with this set to false?

[11:20:33 CDT(-0500)] <b-sure> well we are still in fine tuning of the theme/css but need to do some wider scale testing on a 3node cluseter. So our load balancer sticks me on only 1 of the three nodes and I'm not able to adjust the other nodes easily.

[11:21:06 CDT(-0500)] <b-sure> we will definately use the aggregation in production.

[11:21:14 CDT(-0500)] <EricDalquist> ah ok

[11:21:16 CDT(-0500)] <EricDalquist> just making sure

[11:21:33 CDT(-0500)] <EricDalquist> as the unaggregated CSS/JS ends up being quite a bit of content (smile)

[11:21:39 CDT(-0500)] <EricDalquist> with no caching

[11:21:48 CDT(-0500)] <b-sure> yeah