DB Image Cache

Stable Version 1.3.0 (OutSystems 11)
Published on 26 October 2018 by 
Created on 14 October 2018
Details
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.

What’s new (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)
Category
UI & Widgets
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Rui Lopes who created this component.
Dependencies
DB Image Cache has no dependencies.
Requirements
Platform
11.0.0.200
Database
All
Stack
All
Component Consumers
DB Image Cache has no consumers.
Weekly Downloads 
Related Components
OutSystems UI Mobile
OutSystems R&D
Create amazing native mobile applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
8156
Google Maps
Labs
Google Maps is a Google Maps Javascript V3 API component, providing Web Blocks and Actions to add interactive maps, markers and directions, along with event driven functionality.
11345
OutSystems UI Web
OutSystems R&D
Create amazing web responsive applications using this fully integrated UI framework for OutSystems, with dozens of UI patterns ready to use.
2088
More from Rui Lopes
Simple Chat
Rui Lopes
A simple chat widget for your site.
440
String
Rui Lopes
Extension for manipulating strings - adapted from the 'string' command available in the Tcl programming language. See the Details tab to check on the available actions.