我最近以服务器渲染(带有过渡)的形式发布了我的网站,并使用https://gtmetrix.com对其进行了分析,警告之一是:“缩小HTML”,然后我发现内嵌了大量的CSS源映射数据网址。
我不知道如何删除它们,我已经在enableProdMode()
中致电server.ts
答案 0 :(得分:2)
由于文档中没有提到JSON模式,因此在Id Imei CreationDate DeviceId EnrolledTotal
1 ProductionDevice299 2018-11-04 1 2
7 ProductionDevice300 2018-11-09 1 21
中搜索了答案:
SELECT
[Extent1].[Id] AS [id],
[Extent1].[Imei] AS [imei],
CAST([Extent1].[CreationDate] AS DATE) AS [lastSeenOnline],
[Extent1].[DeviceId] AS [deviceId]
FROM [DeviceManagement].[dbo].[DeviceHistory] AS [Extent1]
INNER JOIN (
SELECT [Imei], max([CreationDate]) as MaxDate
FROM [dbo].[DeviceHistory]
GROUP BY [Imei], CAST([CreationDate] AS DATE)
) [Extent2] on [Extent1].[Imei] = [Extent2].[Imei] and [Extent1].[CreationDate] = [Extent2].MaxDate