Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

[13:14:47 CST(-0600)] <EricDalquist> what sort of caching behavior are you seeing?

[13:20:55 CST(-0600)] <dd_> i update content on the page that the portlet is pointed at and i refresh and don't see the updates

[13:21:05 CST(-0600)] <dd_> unless i maximize it or sign out/sign in

[13:21:16 CST(-0600)] <EricDalquist> ah

[13:21:21 CST(-0600)] <EricDalquist> check the portlet.xml for the proxy portlet

[13:21:32 CST(-0600)] <EricDalquist> I think the default config only refreshes the content when it is interacted with

[13:23:08 CST(-0600)] <dd_> ok

[13:23:44 CST(-0600)] <EricDalquist> look for an expiration-cache element

[13:23:51 CST(-0600)] <EricDalquist> and set it to 0

[13:23:54 CST(-0600)] <EricDalquist> that means never cache

[13:24:22 CST(-0600)] <dd_> is there is any way to set that per instance of the portlet?

[13:24:41 CST(-0600)] <dd_> there is one case where the default behavior is preferable

[13:25:24 CST(-0600)] <EricDalquist> I don't think so :/

[13:25:32 CST(-0600)] <EricDalquist> without duplicating the portlet block in the portlet.xml

[13:25:43 CST(-0600)] <EricDalquist> and using different portlet names when publishing

[13:26:21 CST(-0600)] <dd_> ok, so i guess i will have to look into setting up caching

[13:26:28 CST(-0600)] <dd_> https://wiki.jasig.org/display/PLT/WebProxy+Portlet+Installation+and+Configuration#WebProxyPortletInstallationandConfiguration-Database

[13:26:35 CST(-0600)] <dd_> it mentions a create.sql file in those docs

[13:26:44 CST(-0600)] <dd_> but i can't seem to find them in the repository

[13:27:01 CST(-0600)] <EricDalquist> I don't think the docs have been updated

[13:27:10 CST(-0600)] <EricDalquist> I believe the portlet creates its tables automatically now

[13:27:17 CST(-0600)] <dd_> oh cool