Forum Discussion
Greywolf_99040
Oct 31, 2011Nimbostratus
properly return 304?
Hi, folks, I know this looks "f5-irrelevant" but bear with me a moment.
Problem: Database getting pounded on app cache rebuild
Symptom: Too many connections to database
...
Michael_Yates
Nov 01, 2011Nimbostratus
Hi Grewolf,
I would guess that your iRule is working correctly and that the 304's that the iRule is returning are causing your browser to pull the content from Cache.
I would suggest using a tool like HTTPWatch or Fiddler2 to view the HTTP::status codes that are being returned (they also proved a lot of nice additional information). HTTPWatch has a free version and Fiddler2 is free.
If you want a shortcut you can just change the status code to a 403 or 500 and verify that the iRule is indeed working.
when HTTP_REQUEST {
HTTP::respond 403
}
Hope this helps.
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