It's all about the answers!

Ask a question

How to enable cache for theme and dojo?


Mishael B (1135) | asked Dec 20 '11, 2:28 a.m.
Hello, friends.

We use the configuration - IS7 + WAS7 + RAM 7.5.1. Firebug shows that the query get CSS, gif, JS, etc. always return a 200, although we expect that there should be 304.

Our assumption is that we must enable or configure the cache. Ideas?

Thanks

One answer



permanent link
Rich Kulp (3.6k38) | answered Jan 03 '12, 1:38 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

Firebug actually says 200 OK even when it pulled it from the cache. The
URL will just be non-highlighted. The ones actually pulled down will be
in bold. Note that we don't actually return 304, instead we mark these
as cached for one year when we sent them down the first time. In that
case the browser never even goes back to the host so there would not be
a 304. Instead Firefox always pulls these directly from its cache.

On Firebug go to Net->Show BF Cache Responses and make sure this is not
checked. In that case it won't show cached responses in the net trace.
It will show only those actually received.
--
Rich Kulp
Rational Asset Manager developer

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.