return function(T)if cachedProductInfo[T]==nil then local N=_L.MarketplaceService:GetProductInfo(T,Enum.InfoType.Product)if N~=nil then cachedProductInfo[T]=N end return N else return cachedProductInfo[T]end end




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
