Give us feedback
Web icon

DB Image Cache

Stable version 1.3.0 (Compatible with OutSystems 11)
Uploaded on 26 October 2018 by 
 (0 ratings)

DB Image Cache

This module provides basic cache-control mechanisms for applications which serve images stored in the database. Albeit its simplicity, it should cover the majority of all use cases.
Read more

Is your application displaying images stored on the database? Do you have no cache control mechanism? If so, this package might be useful for you. It will instruct the browser to cache your images and only reload them when they get changed thus saving bandwidth and diminishing page load time.

Care has been taken while creating this package but if you run into any errors or need extra functionalities, please let me know. I'll try to correct the errors and add suggested features if I find them useful to other developers.

Even though the package was created using platform version 11, it should work without changes in previous releases because it only requires platform functionalities available for some time now.

Release notes (1.3.0)

In this version you will get:

  • Delete rule for DB image details has been changed allowing easier deletion of an image
  • Taking advantage of IIS 8.5 automatic ETag calculation (when available)
  • Fooling the browser to refresh an image after updating it via AJAX submit

The last correction is important specially when using a pop-up editor to update an image. Without it, the browser would assume the image is unchanged and the user would see the "old" image. Please upgrade to this version - the new ETag attribute is harmless and should not interfere with the timestamp-based behavior.

As usual, if you run into any problems, please let me know and I will try to correct them.

Still hoping you enjoy using this component!

Reviews (0)