Forum Discussion
Nikoolayy1
Apr 19, 2021MVP
Read about https://clouddocs.f5.com/api/irules/PROFILE.html as from what I see this returns the selected profile and it is not used to set it up, so I don't think there is such an option for this profile.
Try using the irule CACHE command to control when the attached under virtual server web acceleration profile is triggered:
https://clouddocs.f5.com/api/irules/CACHE.html
https://support.f5.com/csp/article/K12895
https://support.f5.com/csp/article/K14903
Edit:
If you have licensed the F5 AAM module that also uses the hard disk for extra cache space then you have to use the WAM::disable and WAM::enable commands.
https://support.f5.com/csp/article/K52245924
https://clouddocs.f5.com/api/irules/WAM.html