avoid connection to db on asset precompile