In relation to miles question, I have another question. Which is better in terms of caching performance?
1. turning on waf.web.cache_policy for the world
2. caching using squid
3. or selective caching like what miles is asking
I have turned on waf.web.cache_policy for the world and it has significantly speed up my system. I have not tried squid though. Can somebody share their experience in this context?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
miles...i think the reason why they disable the cache is because the portal page queries dynamic data. so most probably things like news portlet shouldnt be cached, otherwise, you would end up looking at the same news item list for ages.
that is just my opinion...
cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-10-14
Hi remi,
I can think of several reasons why you wouldn't want to cache a portal page but in this particular case I was wondering if there was any technical reasons why it should be disabled. In the past I've come across CCM apps that require caching to be disabled to work correctly, e.g. needed a new set of objects to be created per request or you'd get some odd behaviour.
If you grep through the APLAWS+ source, most of the JSP pages disable caching, which makes you wonder, why? I suspect that most of them can be cached, it's just no one has tested it yet.
The portal page I'm using is fairly static so I'll turn on caching and see what happens.
Miles
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
By default the portal homepage has caching disabled? Is there any particular reason for this? Can I turn caching on? e.g. replace:
<jsp:scriptlet>
DispatcherHelper.cacheDisable(response);
</jsp:scriptlet>
with:
<jsp:scriptlet>
DispatcherHelper.cacheForUser(response);
</jsp:scriptlet>
I presume caching for the world is unnecessary because the portal page is customised on a per user basis.
Miles
hi everybody,
In relation to miles question, I have another question. Which is better in terms of caching performance?
1. turning on waf.web.cache_policy for the world
2. caching using squid
3. or selective caching like what miles is asking
I have turned on waf.web.cache_policy for the world and it has significantly speed up my system. I have not tried squid though. Can somebody share their experience in this context?
miles...i think the reason why they disable the cache is because the portal page queries dynamic data. so most probably things like news portlet shouldnt be cached, otherwise, you would end up looking at the same news item list for ages.
that is just my opinion...
cheers
Hi remi,
I can think of several reasons why you wouldn't want to cache a portal page but in this particular case I was wondering if there was any technical reasons why it should be disabled. In the past I've come across CCM apps that require caching to be disabled to work correctly, e.g. needed a new set of objects to be created per request or you'd get some odd behaviour.
If you grep through the APLAWS+ source, most of the JSP pages disable caching, which makes you wonder, why? I suspect that most of them can be cached, it's just no one has tested it yet.
The portal page I'm using is fairly static so I'll turn on caching and see what happens.
Miles