Closed dottodot closed 5 years ago
Please post your config. The 404's you mentioned are normal and the result of image artifacts being requested from cache. The docs go over optimized originals, image artifacts, and caching in detail.
Image-Steam requires caching (via the same storage as the "original" images, or via its own dedicated storage) for real time performance.
Here's my config
const options = {
throttle: {
ccProcessors: 4,
ccPrefetchers: 100,
ccRequests: 100
},
storage: {
defaults: {
driverPath: 'image-steam-s3',
endpoint: process.env.SPACES_ENDPOINT,
accessKey: process.env.SPACES_KEY,
secretKey: process.env.SPACES_SECRET
},
app: {
bx: {
bucket: 'boxxer'
},
bos: {
bucket: 'bailey-image'
}
},
cache: {
bucket: 'dottodot-image-cache'
},
cacheTTS: 1036800
}
};
Your config appears to be OK, assuming the creds (accessKey+secretKey) are the same for the cache. Those 404's are warnings, and should not be impacting your requests (other than being slower due to cache miss).
OK thanks that's put my mind at rest was just worried it wasn't working correctly, but that makes sense.
I have a strange issue that I can't work out so just wondering if you've seen anything like it or would know why it's happening.
I keep getting 404 errors like the one below which is caused by a series of numbers at the end of the url i.e
/1495697979
, without these numbers appended the image would load.It looks as something is replacing transformations with what appears to be random numbers.
It very intermittent and I've not found a way to replicate it.