caching rules

Defining caching rules for images in the ADF Faces Caching Filter

<adf-faces-config xmlns=”http://xmlns.oracle.com/adf/faces/config”> <caching-rules> <caching-rule id=”cache js”> <cache>true</cache> <compress>true</compress> <duration>99999</duration> <agent-caching>true</agent-caching> <cache-key-pattern>*.js</cache-key-pattern> </caching-rule> <caching-rule id=”cache jpeg”> <cache>true</cache> <compress>false</compress> <duration>99999</duration> <agent-caching>true</agent-caching> <cache-key-pattern>*.jpeg</cache-key-pattern> </caching-rule> <caching-rule id=”cache png”> <cache>true</cache> <compress>false</compress> <duration>99999</duration> <agent-caching>true</agent-caching> <cache-key-pattern>*.png</cache-key-pattern> </caching-rule> <caching-rule id=”cache PNG”> <cache>true</cache> <compress>false</compress> <duration>99999</duration> <agent-caching>true</agent-caching> <cache-key-pattern>*.PNG</cache-key-pattern>ion </caching-rule> <caching-rule id=”cache css”> <duration>99999</duration> <agent-caching>true</agent-caching> <cache-key-pattern>*.css</cache-key-pattern> </caching-rule> </caching-rules> </adf-faces-config>

Scroll to top
Copy Protected by Chetan's WP-Copyprotect.