If you have a ShortPoint design element on the page that is connected, it means that ShortPoint engine will try to read the information from the connected source every time you load the page, which will affect page loading time.
Solution
All kinds of connected ShortPoint design elements have an option to enable caching on them.
When the cache option is enabled, ShortPoint will attempt to read the information from the connected source only the first time you load the page. After that, this information will be kept in the browser local storage (cached).
To enable caching on any given ShortPoint element, you have to:
- Edit the ShortPoint design element and switch to the Connect tab.
- Scroll down to the Performance and Caching category.
Depending on the ShortPoint version you are using, follow the next steps.
If you have ShortPoint SPFx or Farm Solution version 7.0.x or higher:
Choose the Cache options from the drop down menu:
- Smart Cache+ (Recommended);
- Cache for a Set Period of Time;
- Disable caching.
Note: Find out more about Cache options in this solution article: Caching options.
If you have ShortPoint SPFx version 6.9.x or earlier, or ShortPoint Farm Solution version 6.8.x or earlier:
Toggle on the Enable Cache option.
- Specify the maximum number of hours that this information should be kept in the browser storage by updating the "Automatically clear the cache every" field (e.g: set it to 24 hours, if the connected source's data is expected to change every day).
Note: If you do not specify any value in the "Automatically clear the cache every" field, it means that your connected data will be cached forever (unless you clear the cache from the ShortPoint Dashboard page (more on next section).
Forcing Cached Data to be cleared
If you have enabled cache for the connected ShortPoint design element, and there are new updates in the connected source, you can force clearing cached data. You may use this option when you do not want to wait until the cached data to expire, but the new data to be displayed on the site immediately.
To do this, you can simply go to the ShortPoint Dashboard (Site Settings > ShortPoint Dashboard > Performance):
And then click on the Clear the Cache button:
This button will force ShortPoint to clear all cached connected information everywhere.
Other performance improvements: