Closed engram-design closed 3 years ago
It's probably only truly useful for repeated accesses during the same request, so setting it to 1s
is probably a better default
Nice one! And yeah, wasn't sure how you wanted to handle setting that sort of setting, in this module or the craft-vite
plugin. Thanks!
We've found the 30s cache of
DEVMODE_CACHE_DURATION
to be pretty slow (and annoying) for local dev via https://github.com/nystudio107/craft-plugin-vite/blob/2f3338d9f60c194e739533efc6bbc3f66e9fdf05/src/helpers/FileHelper.php#L38This causes a delay when starting/stopping the dev server due to the cached result for fetching whether the dev server is running or not. Thinking this might be configurable in some fashion?