Change log

Empty Cache

Clear the server-side cache for generated ‘ImageProcessor’ images throughout the site.

The “Empty Cache” function can be accessed from the gear icon () in the top right of the admin.

When manipulating images on your site using the ImageProcessor parameters, the modified images are stored in a server-side cache - to avoid having to reprocess the image unnecessarily on subsequent page views.

For example; applying a width parameter of 100px to an image like so:

<img src="/images/my-image.jpg?width=100" alt="My Image">

Results in an image of 100px width saved to the server cache which is directly linked to the above image path and parameters and is retrieved from the cache whenever that image is requested thereafter.
So, even after uploading a replacement image (with the same file name and location) the image rendered on your website may still show the cached version for all users - from the ImageProcessor cache (which cannot be refreshed by clearing the individual user’s browser cache).

Changing any of the parameters will result in a new image being generated and this method can be used to force the new image to be displayed, for example:

<img src="/images/my-image.jpg?width=101" alt="My Image">

However, this is not always a practical approach to the caching issues as it requires changes to your markup in all places the image is used as well as changes to the desired parameters (see also the ‘Asset Cache Control’ methods for similar solutions).

Therefore, a more global solution to this server-side caching issue is to use the “Empty Cache” function to clear the server-side cache directly - resulting in any ImageProcessor-created images being reprocessed from the current source image uploaded to the site.

Client-side browser caching will still apply as normal to all images even after the server-side ImageProcessor cache has been cleared. So, previous image versions may still display for some users based on the standard caching rules in place.
For testing/developing and individual use cases, clear the browser cache or perform a hard refresh after using the “Empty Cache” function for complete image cache clearing.



Related Articles

  • Site Settings & Management
    Domains

    The Treepl CMS Domain settings allow you to control default domain, landing pages, domain authentication for system emails along with country and cultural settings like number and currency formatting.
  • Site Settings & Management
    Site Globals

    Site Globals, under ‘Settings’, is where you can set up customised data points for your...
  • Site Settings & Management
    System Pages

    System Pages, under 'Settings', is where you’ll find all those pages required by certain system...
  • Site Settings & Management
    Payment Settings

    Integrate various payment gateways, for multiple countries and currencies, into Treepl CMS for form payments, subscriptions and eCommerce workflows.
  • Site Settings & Management
    Admin Users

    Admin Users, found under ‘Settings’, is where you can control administrator access to your website management and content.
  • Site Settings & Management
    Admin User Roles

    Admin User Roles provide fine-grain control over permissions for users granted with admin access.
  • Site Settings & Management
    Admin Menu Configurator

    Customise the way admin users find and access site content and settings by configuring the admin menu with your own structure, labels, icons and links.
  • Site Settings & Management
    URL Redirects

    URL Redirects, found under ‘Settings’, enable you to set up 301 permanent redirects from a prior, or constructed, URL to another URL (within your domain/s).
  • Site Settings & Management
    Sitemap.xml / Robots.txt

    The Sitemap feature allows you to manage the sitemap.xml content, which lists your site’s important pages/items, their priority and last modified date, in XML format, for SEO and site indexing purposes.
  • Site Settings & Management
    SEO

    Configuring these settings will help search engines and accessibility systems better understand the context of your website.
  • Site Settings & Management
    Misc Settings

    These various site-wide settings allow you to further control and customise the way your website functions, both in the admin and on the front-end.
  • Site Settings & Management
    Frontend API Restrictions

    Enable access to various frontend API endpoints and individually configure user permissions and access rules.
  • Treepl Portal
    Trial Sites

    Trial Sites are your Treepl CMS development environments for starting new site projects, before you publish to a custom domain name.
  • Treepl Portal
    Live Sites

    Live sites are your published Treepl CMS instances that have been activated, have commenced a billing subscription and/or have a custom domain name assigned to them.
  • About Treepl CMS
    File System

    Most of the content management related assets and files used in Treepl CMS are accessible in the file system either via the admin File Manager or via FTP.
  • About Treepl CMS
    Trial Sites vs Live Sites

    Site Performance & Resources Currently, there are no differences in performance or resources limits between...
  • OpenAPI (Admin)
    Site Globals API

    Create, Retrieve, Update and Delete Site Global Groups and their Properties via the public API endpoint using "where" filtering.
  • OpenAPI (Admin)
    Categories API

    Create, Retrieve, Update and Delete Categories via the public API endpoint using "where" filtering.
  • eCommerce
    Settings

    These various eCommerce settings allow you to further control and customise the way your website functions, both in the admin and on the front-end, in terms of eCommerce functionality.
  • Site Settings & Management
    FTP access

    Treepl CMS allows you to access site files through secure SFTP. In this article you will learn how to connect to your Treepl website via SFTP as a reseller and/or admin user, as well as learn about Treepl's file structure.
  • Website Templates
    *Bikes

  • Website Templates
    *Clothing Store

  • Website Templates
    Coffee

  • Website Templates
    *Coworking

  • Website Templates
    Digital Agency

  • Extensions
    Direct Billing

    Allow your customer to pay Treepl CMS directly for their site plan from the admin, as well as activating the site and assign their primary domain name (if the site is still in Trial Site mode).
  • Website Templates
    Furniture

  • Extensions
    Granular White-labeling

    An addition to the regular white-labeling feature, this extension provides branding controls on an individual site, allowing you to customise a site’s brand logo and login screen separately to your overall white-labeling settings.
  • Website Templates
    *Hair Salon

  • Extensions
    Import/Export of Modules

    Quickly and easily replicate (or back-up) a complete Custom Module configuration via import/export, including; Settings, Properties, Layouts and Table setup.
  • Website Templates
    Max

  • Extensions
    Website Backup

    Website Backup allows you to create and restore full site backups, including the site database, FTP files and admin configurations, from manual backups as well as a custom automatic schedule.

External Resources

There are currently no external resources available.

Please let us know if you have any other contributions or know of any helpful resources you'd like to see added here.


Questions?

We are always happy to help with any questions you may have.
Visit the Treepl Forum for community support and to search previously asked questions or send us a message at support@treepl.co and we will consult you as soon as possible.