Update Product Images Efficiently in NetSuite

Easily update product images in NetSuite by utilizing the Generate URL Timestamp feature for effective CDN management.

·1 min read·View Oracle Docs

To update an image on your site, you don't need to use the Cache Invalidation by URL page. Instead, you can check the Generate URL Timestamp box on the file record in the Web Site Hosting Files Folder.

Generate URL TimeStamp checkbox

Checking this box forces the CDN to store a new version of your file. The file cabinet adds a URL timestamp based on the last date the file was changed. A new timestamp is created each time the file changes. The URL timestamp tells the CDN and browser cache that the content has changed. For example, a new timestamp is created each time you change an image used on a landing page or banner.

Best Practice: If you notice outdated images coming from the cache while you're developing your website, check the Generate URL Timestamp box on the file record. The search service reads the new URL, and the new version of the file gets stored in the CDN cache.

Note: This feature only works for URLs returned by code that uses the Item Search API, such as product images.

Frequently Asked Questions (4)

Do I need to use Cache Invalidation by URL to update product images?
No, you can simply check the Generate URL Timestamp box on the file record in the Web Site Hosting Files Folder to update product images efficiently.
What happens when the Generate URL Timestamp box is checked on a file?
Checking this box forces the CDN to store a new version of the file by adding a new URL timestamp each time the file changes, indicating to the CDN and browser cache that the content has been updated.
Is the Generate URL Timestamp feature applicable for all NetSuite URLs?
No, this feature is specifically for URLs returned by code that uses the Item Search API, such as for product images.
How does the URL timestamp affect the CDN and browser cache?
The URL timestamp informs the CDN and browser cache that the content has been changed, prompting them to store and display the updated version of the file.
Source: Updating a Product Image Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →