srv10 temporary storage

Created by: Lester Caine, Last modification: 12 August 2025

I currently have '/srv/tmp/php8/' set as the session directory for PHP and this avoids the problem of Tumbleweed keeping 'protecting' it's default folder. All the session files go straight into the directory, then php-fpm uses the 'php/' sub directory as it's temporary store, with folders for each live domain stored below that.

bitweaver builds it's cache files in the relevent folder, with the templates_c folder being home to the smarty template cache. In addition there are caches for the biticon links, language conversions and when enabled a cache of the finished pages which sppeds things up even more. While I've been playing with the code base, caching pages has been disabled, and I have to be careful to remember to wipe the smarty cache sometimes. Just hit a niggle with pagination which at the end of the day was simply that the cached copy needed replacing. There are afew more things to tidy, but even with rebuilding all the smarty cache, things are a lot faster on the new setup. Since Graham's sites will not be having any further attention content wise they should work well with a long cache time switched on, and even the busy sites will probably benedit from that as well.

Well it turned out I'd been looking in the wrong place and both the graham-ovenden and garage-press sites HAD been being cached still. The setting is currently for a week, and that is managed via the database so I suspect I'd restored a backup at some poinr from before my having switched it off. Probably during the move from Firebird3 to Firebird5. Now just need to time how long things take to display.