Forum Discussion
Frank_Mancini_3
Nimbostratus
Feb 18, 2009What are the steps to NOT cache a specific file?
Example: /homepage/home.html
What are the steps if I don't want to cache:
1) Just this one page
2) The path /homepage/*
3) Just this one page and all the ...
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?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects