Welcome Guest, Not a member yet? Register   Sign In
Public folder and assets for each module
#5

Hey. About bonfire, i know this tool, but for me it very big, like fat cow, thats why i wrote my own CMF based on CI4.

About response – very nice idea, so i can create a spark command for clean cache + create caches.

But i don't understand, for development mode, how you can attach that files? Because all other files in the upper level then ./public. For example in development mode you need to include ./modules/Admin/TestModule/Assets/img/test-gif.svg, how you can do this? Each time check file for change time and copy like?:

copy($fullPath, $cachePath); // Create cache if not exists or is older

Will this put a load on my server? Because i trying to use readfile, as your last example – and simple empty page on the admin panel without calculating something – loading very slow (before readfile 2s, after – almost 5s)
Reply


Messages In This Thread
RE: Public folder and assets for each module - by kaligula - 02-25-2025, 02:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB