[Opensymphony-oscache] Cache for javascript includes

John <[email protected]> Mon, 29 Aug 2005 10:23:47 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <9895480.1125329057908.JavaMail.os-j2ee@opensymphony01.contegix.com>
Can I cache the javascript includes in my JSP pages or does it have to cache the entire page. For instance can I do something like the following;
<cache:cache key="<%=cacheID%>" group="javascript.editableSelect" time="3600" scope="session">
  <script language="javascript1.2" src="js/editableSelect.js"></script>
</cache:cache>
and then the javascript is cached for immediate download to client?
- John

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=6207&messageID=14050#14050