return function(h)if cachedProductInfo[h]==nil then local n=_L.MarketplaceService:GetProductInfo(h,Enum.InfoType.Product)if n~=nil then cachedProductInfo[h]=n end return n else return cachedProductInfo[h]end end
--[[
	
	Grabs devProduct info - cleaner alternative to GetProductInfo. Caches and may potentially yield.
	
	Functions.GetProductInfo(
		id, 					<-- |REQ|	ID of devProduct. (w/o link)
	)
	
--]]

return function(id)
	--- Check cache
	if cachedProductInfo[id] == nil then
		--- Get product info
		local productInfo = _L.MarketplaceService:GetProductInfo(id, Enum.InfoType.Product)

		--- Update cache
		if productInfo ~= nil then
			cachedProductInfo[id] = productInfo
		end

		--
		return productInfo
	else
		--- Return cache
		return cachedProductInfo[id]
	end
end
