Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Slax 1 post 71 karma points
    1 week ago

    Disable generate cached folder in imagegen

    Hello, I have question. Is it possible to disable creating cached folder with resized photos in ImageGen? I need disable creating this folder and create resized photo in memory everytime when user needs this photo.

    Thanks, Slawek

  • Douglas Robar 3558 posts 4536 karma points admin mvp c-trib
    1 week ago
    Douglas Robar

    Sorry, the purpose of ImageGen is to save your server from repeatedly making the same resized images, which take time, cpu, and memory. The cached folders will be created.

    You could specify the ?nocache=true parameter. That wont keep the cached file from being created but it will tell ImageGen to ignore any previously cached images and always resize the request as though it hadnt been done before.

    You can also delete the cached folder(s) periodically. ImageGen will created new ones as needed when new requests come in.

    Cheers, Doug

Please Sign in or register to post replies

Write your reply to: