Adding cache for images/container fields in WebDirect

Idea created by InfoAuch on Mar 20, 2017
    Active
    Score1
    • InfoAuch

    Hello everyone,

     

    WebDirect does not manage a cache for images stored in a field. Each time the web page is refreshed, it generates a new path. This increases uselessly WebDirect engine or FMS to generate each time a copy of the image on the hard drive. And as well the browser has to reload every images. I think WebDirect should manage a cache for container fields, even with multiple users connected to the same database. I noticed as well that the thumbnails (when you set the field to manage thumbnails) are also recreated every times.

     

    HTML code produced for the same image :

    src="http://srf-fms.auch.local/fmi/webd/APP/connector/2/314/source/1d8bf210526972b604fa4b458d1300a0_large.jpeg_6.jpeg"

    src="http://srf-fms.auch.local/fmi/webd/APP/connector/2/326/source/1d8bf210526972b604fa4b458d1300a0_large.jpeg_7.jpeg"

    src="http://srf-fms.auch.local/fmi/webd/APP/connector/2/328/source/1d8bf210526972b604fa4b458d1300a0_large.jpeg_9.jpeg"

     

    How to replicate

    With an image stored in a table container field, create a model with this field. See file test.

     

    Thomas

    Attachments