Forum Discussion
max image size
Hi,
Is there any way I can use an iRule to prevent an image to be returned to the client that is larger than for example 300KB?
1 Reply
- Kevin_Davies_40
Nacreous
The answer is yes. The problem is not the size limit but how you want to deal with the scenario. Since the client made the image request it is expecting a response from the web server and we have to deal with that.
We only know the image size when we see a response from the web server. Do we return a 404 not found to the client in this case or something else? A 404 response will give them a broken image icon. Or do you want some other desired outcome?
Is this for downloading files? or normal images?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
