Muut
1
Hello, i need to move image cache to another location. I moved cache using:
cache:
type: Stream
prefixes:
'': [newLocation/cache]
page’s content is moved fine, but no page images are loaded. Can you please help me move image cache? Thanks in advance.
Muut
2
You need do define it like this:
cache:
type: 'Stream',
prefixes:
'': ['cache'],
images: ['images']
Muut
3
Still not working for me. I tried setup.php:
<?php
return [
'streams' => [
'schemes' => [
'page' => [
'type' => 'Stream',
'prefixes' => [
'' => ['new_folder/user/pages'],
]
],
]
]
];
with this setup.php grav will not load any pages, so i tried user/config/streams.yaml with:
schemes:
page:
type: Stream
prefixes:
'': ['new_folder/user/pages']
cache:
type: Stream
prefixes:
'': ['new_folder/cache']
images: ['new_folder/images']
and grav will load all pages, but images are not showing. I am confused about what i’m doing wrong.