Forum Discussion
Feb 18, 2009
While iRules are great for many things managing what WebAccelerator caches and doesn't cache is not one of them. This should be managed completely by the WebAccelerator policy. Disabling caching or WebAccelerator via an iRule for a page will result in none of the embedded content being assembled with Intelligent Browser Referencing or MultiConnect if those are enabled.
To prevent WebAccelerator from caching an item such as an HTML page you need to do the following:
1) Open the policy in the policy editor
2) Copy the pages node and rename
3) Move the newly created node up to have a higher priority than the pages node
4) Edit the Path parameter and change to /homepage/home.html
5) Select Assembly Rules from the drop down box
6) Select Proxying Rules
7) Select the Always Proxy radio button
8) Save the changes
9) Publish the policy
This will achieve items 1 & 3 no need to specify the individual query parameters as long as the path matches WebAccelerator will always proxy those requests to the origin servers.
For item 2 are these just pages within the /homepage directory or do you not want WebAccelerator to cache any content within the /homepage directory?