- Grimport Language Documentation
- Installation of Grimport & Other Software
- Variables & Syntax
- Control Structures
- Extract data from a page
- Export Filtered Data
- Programming with Grimport Script Editor
- Crawler and Logs
- GRS, GRC & GRL
- Folder Organization
- Launch Options
- Mistakes & Errors
- Connected services
- To Go Further
When having to deal with multiple requests, it is preferrable to use caches to speed things up.
What is a cache and when to use a cache
A cache is hardware or software used to store data. It is frequently used to help websites and apps load faster. A cache stores data locally which helps with dealing with many requests since you don't have to overload the server with requests and can save processing time.
When you're importing many products using Grimport, it is best to use a cache. Using a cache also allows to save money from using bandwidth and transferring data. The cache is also automatically updated.
How to use caches with Grimport
With Grimport, you can use caches to speed up the processes and avoid having to call update functions which would be really long.
There are several functions to set up caches:
- addAttributeCacheEntry ( string name , string id , string combinationId ) allows you to add an attribute value entry in the cache to avoid calling updateCombinations().
- addCategoryCacheEntry ( string name , string id , string parentId , string path ) allows you to add a categroy entry in the cache to avoid calling updateCategories()
- addCombinationCacheEntry ( string name , string id ) allows you to add combinations (attribute group) in the cache to avoid calling updateCombinations().
- addFeatureCacheEntry ( string name , string id ) allows you to add a feauture entry in the cache to avoid calling updateFeatures().
- addFeatureValueCacheEntry ( string name , string id , string featureId ) allows you to add a feauture value entry in the cache to avoid calling updateFeatures().
Next ❯ ❮ Previous