when HTTP_REQUEST {
if {[HTTP::path] ends_with ".css" or
[HTTP::path] ends_with ".js" or
[HTTP::path] ends_with ".jpg" or
[HTTP::path] ends_with ".png" or
[HTTP::path] ends_with ".gif" }{
CACHE::enable
}
else {
CACHE::disable
}
}
Can somebody know why I am getting max 40 objects cached? It does not matter what site I test, alway 40 objects max are cached and therefore new objects are replacing old objects:
show ltm profile ramcache webacceleration_default_profile | grep Total
Total records returned: 40
I did not know I can use GUI to see cached objects, where is that option? And thanks for your post, but that is valid for 10.x version. We have 11.5.1. BTW, this runs on BIG-IP 4000 and when I tried “show sys tmm-info” I saw there only 4 tmm processes (0.0, 0.2, 0.4, 0.6).
Yeah, I know its out of date, but seems very much like your issue.
You can view ‘global’ statistics for RAMCache via Statistics > Modules > Local Traffic > Profiles Summary > Web Acceleration
You can view per Virtual Server statistics as follows: Local Traffic > Virtual Servers > Statistics > View… (chose a VS) > Then select the web acc. profile about half way down.
I am not sure if this is related only to output from show command. I think it is real, since when I do not see banner miages to be cached, then also “show ltm profile web-acceleration webacceleration_default_profile” shows less data to be cached.
This is strange, does anybody have the same experience?
I recently came across this, and realised that it is not an issue. It is the command used which shows only the top 40 objects cached. Use this command instead “tmsh show ltm profile ramcache profilename max-response value” The “max-response” command will ensure the LTM list down more cache objects. When you put in 1000 as the value, it will list down the top 1000 cached objects.