Don’t recall seeing cache-control in CAS itself (doesn’t mean it’s not there). 
We've been doing the following in httpd:

  <LocationMatch "\.(css|gif|jpg|png|js)$">
    <IfModule mod_expires.c>
      ExpiresActive On
      ExpiresByType text/css "access plus 1 hour"
      ExpiresByType image/gif "access plus 1 hour"
      ExpiresByType image/jpeg "access plus 1 hour"
      ExpiresByType image/png "access plus 1 hour"
      ExpiresByType text/javascript "access plus 1 hour"
      ExpiresByType application/javascript "access plus 1 hour"
    </IfModule>
  </LocationMatch>


Tom.

On Oct 24, 2016, at 12:32 PM, Manfredo Hopp 
<[email protected]<mailto:[email protected]>> wrote:

Hi:

Trying to install a custom login page I noticed this strange behaviour with an 
apache front-end of cas 4.0.1.

Here is my Cas properties file:

src/main/resources/cas-theme-default.properties:

#standard.custom.css.file=/css/cas.css
standard.custom.css.file=/css/mydomain.css
cas.javascript.file=/js/cas.js

This new css is loaded only with a refresh of the browser.


Is there any issue regarding this behaviour?



Thanks!

Manfredo



--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAB623R9%2BNm42OSD5AZctPQ2w-mSNG%2BzzeJmOZtijDz_uEN%3D1uA%40mail.gmail.com<https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAB623R9%2BNm42OSD5AZctPQ2w-mSNG%2BzzeJmOZtijDz_uEN%3D1uA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/DE53892A-0828-4243-8622-576D626E9C65%40ucdavis.edu.

Reply via email to