{"id":99746,"date":"2024-04-12T11:46:56","date_gmt":"2024-04-12T03:46:56","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/99746.html"},"modified":"2024-04-12T11:46:57","modified_gmt":"2024-04-12T03:46:57","slug":"%e5%9c%a8angular%e4%b8%ad%e4%bd%bf%e7%94%a8service-workers","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/99746.html","title":{"rendered":"\u5728Angular\u4e2d\u4f7f\u7528Service Workers"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/02155029\/c3b78b7d-35c5-4a6f-a1e5-c9b5f9320a04.webp\" alt=\"\u5728Angular\u4e2d\u4f7f\u7528Service Workers\" \/><\/p>\n<p><p>\u5728Angular\u4e2d\u4f7f\u7528Service Workers\u80fd\u591f\u6781\u5927\u63d0\u5347\u4f60\u7684\u5e94\u7528\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002\u901a\u8fc7Service Workers\uff0c\u4f60\u53ef\u4ee5\u5b9e\u73b0<strong>\u79bb\u7ebf\u529f\u80fd\u3001\u6570\u636e\u7f13\u5b58\u3001\u4ee5\u53ca\u63a8\u9001\u901a\u77e5<\/strong>\uff0c\u4ece\u800c\u8ba9\u4f60\u7684Angular\u5e94\u7528\u5728\u6ca1\u6709\u7f51\u7edc\u8fde\u63a5\u7684\u60c5\u51b5\u4e0b\u4ecd\u7136\u53ef\u7528\u3001\u63d0\u4f9b\u66f4\u5feb\u7684\u5185\u5bb9\u52a0\u8f7d\u901f\u5ea6\u4ee5\u53ca\u66f4\u4e30\u5bcc\u7684\u7528\u6237\u4f53\u9a8c\u3002\u5728\u8fd9\u5176\u4e2d\uff0c<strong>\u79bb\u7ebf\u529f\u80fd<\/strong>\u7684\u5b9e\u73b0\u5c24\u4e3a\u5173\u952e\u3002\u901a\u8fc7Service Workers\uff0c\u6211\u4eec\u53ef\u4ee5\u9884\u7f13\u5b58\u5173\u952e\u8d44\u6e90\uff0c\u4f7f\u5f97\u5728\u6ca1\u6709\u7f51\u7edc\u7684\u60c5\u51b5\u4e0b\uff0c\u7528\u6237\u4f9d\u7136\u80fd\u591f\u52a0\u8f7d\u548c\u6d4f\u89c8\u5e94\u7528\u7684\u6838\u5fc3\u5185\u5bb9\u3002\u8fd9\u4e0d\u4ec5\u63d0\u5347\u4e86\u7528\u6237\u4f53\u9a8c\uff0c\u4e5f\u4e3a\u5e94\u7528\u7684\u53ef\u7528\u6027\u8bbe\u7f6e\u4e86\u65b0\u7684\u6807\u51c6\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001SERVICE WORKERS \u7b80\u4ecb<\/h2>\n<\/p>\n<p><p>Service Workers \u662f\u4e00\u79cd\u8fd0\u884c\u5728\u6d4f\u89c8\u5668\u80cc\u540e\u7684\u811a\u672c\uff0c\u80fd\u591f\u5728\u6ca1\u6709\u7f51\u9875\u6216\u7528\u6237\u4ea4\u4e92\u7684\u60c5\u51b5\u4e0b\u5de5\u4f5c\u3002\u8fd9\u4f7f\u5f97\u5b83\u4eec\u80fd\u591f\u5728\u540e\u53f0\u6267\u884c\u63a8\u9001\u901a\u77e5\u548c\u7f51\u7edc\u8bf7\u6c42\uff0c\u4ee5\u53ca\u7ba1\u7406\u7f13\u5b58\u4e2d\u7684\u8d44\u6e90\u3002\u8fd9\u4e9b\u7279\u6027\u7279\u522b\u9002\u7528\u4e8e\u63d0\u5347\u5e94\u7528\u6027\u80fd\u548c\u589e\u52a0\u79bb\u7ebf\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u7f13\u5b58\u7b56\u7565<\/h3>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Service Workers \u65f6\uff0c\u5b9a\u4e49\u6709\u6548\u7684\u7f13\u5b58\u7b56\u7565\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u7f13\u5b58\u7b56\u7565\u786e\u5b9a\u4e86\u54ea\u4e9b\u8d44\u6e90\uff08HTML\u6587\u4ef6\u3001CSS\u6837\u5f0f\u8868\u3001JavaScript\u811a\u672c\u3001\u56fe\u7247\u7b49\uff09\u5e94\u8be5\u88ab\u7f13\u5b58\u3001\u4f55\u65f6\u66f4\u65b0\u4ee5\u53ca\u5982\u4f55\u54cd\u5e94\u8d44\u6e90\u8bf7\u6c42\u3002\u6709\u6548\u7684\u7f13\u5b58\u7b56\u7565\u53ef\u4ee5\u51cf\u5c11\u7f51\u7edc\u8bf7\u6c42\uff0c\u63d0\u9ad8\u5e94\u7528\u52a0\u8f7d\u901f\u5ea6\uff0c\u540c\u65f6\u786e\u4fdd\u7528\u6237\u603b\u662f\u83b7\u5f97\u6700\u65b0\u7684\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><h3>\u79bb\u7ebf\u4f53\u9a8c<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u9884\u7f13\u5b58\u91cd\u8981\u8d44\u6e90\uff0cService Workers \u5141\u8bb8\u5e94\u7528\u5728\u79bb\u7ebf\u65f6\u8fd8\u80fd\u63d0\u4f9b\u57fa\u672c\u7684\u529f\u80fd\u3002\u8fd9\u5bf9\u4e8e\u63d0\u9ad8\u7528\u6237\u4f53\u9a8c\u5c24\u4e3a\u91cd\u8981\uff0c\u5c24\u5176\u662f\u5728\u7f51\u7edc\u4e0d\u7a33\u5b9a\u7684\u73af\u5883\u4e2d\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u9009\u62e9\u54ea\u4e9b\u8d44\u6e90\u662f\u5bf9\u7528\u6237\u6700\u91cd\u8981\u7684\uff0c\u4f18\u5148\u7f13\u5b58\u8fd9\u4e9b\u5185\u5bb9\u4ee5\u63d0\u5347\u79bb\u7ebf\u4f7f\u7528\u65f6\u7684\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u5728ANGULAR\u4e2d\u96c6\u6210SERVICE WORKERS<\/h2>\n<\/p>\n<p><p>Angular \u4e3aService Workers\u7684\u96c6\u6210\u63d0\u4f9b\u4e86\u5185\u7f6e\u652f\u6301\uff0c\u901a\u8fc7Angular Service Worker\u6a21\u5757\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u4e3a\u4f60\u7684\u5e94\u7528\u6dfb\u52a0Service Worker\u652f\u6301\uff0c\u5e76\u5229\u7528\u5b83\u4eec\u63d0\u4f9b\u7684\u5f3a\u5927\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u8bbe\u7f6e\u548c\u914d\u7f6e<\/h3>\n<\/p>\n<p><p>\u8981\u5728Angular\u9879\u76ee\u4e2d\u4f7f\u7528Service Workers\uff0c\u9996\u5148\u9700\u8981\u901a\u8fc7Angular CLI\u6765\u4e3a\u4f60\u7684\u5e94\u7528\u6dfb\u52a0Service Worker\u652f\u6301\u3002\u8fd9\u5305\u62ec\u5b89\u88c5\u5fc5\u8981\u7684\u5305\u3001\u914d\u7f6engsw-config.json\u6587\u4ef6\u4ee5\u5b9a\u4e49\u7f13\u5b58\u7b56\u7565\uff0c\u4ee5\u53ca\u4fee\u6539\u5e94\u7528\u6a21\u5757\uff0c\u4ee5\u6ce8\u518cService Worker\u3002<\/p>\n<\/p>\n<p><h3>\u7f13\u5b58\u7ba1\u7406<\/h3>\n<\/p>\n<p><p>\u5728Angular\u5e94\u7528\u4e2d\u4f7f\u7528Service Workers\uff0c\u5f00\u53d1\u8005\u9700\u8981\u901a\u8fc7\u914d\u7f6engsw-config.json\u6587\u4ef6\u6765\u7ba1\u7406\u7f13\u5b58\u3002\u5728\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u4f60\u53ef\u4ee5\u8be6\u7ec6\u5730\u6307\u5b9a\u54ea\u4e9b\u6587\u4ef6\u5e94\u8be5\u88ab\u7f13\u5b58\uff0c\u7f13\u5b58\u7b56\u7565\uff0c\u4ee5\u53ca\u5982\u4f55\u5728\u5e94\u7528\u66f4\u65b0\u65f6\u5904\u7406\u7f13\u5b58\u3002\u6b63\u786e\u914d\u7f6e\u7f13\u5b58\u662f\u786e\u4fdd\u5e94\u7528\u5373\u4f7f\u5728\u79bb\u7ebf\u72b6\u6001\u4e0b\u4e5f\u80fd\u63d0\u4f9b\u4f18\u79c0\u7528\u6237\u4f53\u9a8c\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u4f18\u5316\u4e0e\u7b56\u7565<\/h2>\n<\/p>\n<p><p>\u5728Angular applications \u4e2d\u4f7f\u7528Service Workers\u4e0d\u4ec5\u4ec5\u662f\u5173\u4e8e\u8bbe\u7f6e\u548c\u9057\u5fd8\u3002\u4e3a\u4e86\u5145\u5206\u5229\u7528\u5b83\u4eec\u7684\u529f\u80fd\uff0c\u9700\u8981\u91c7\u53d6\u7b56\u7565\u6765\u4f18\u5316\u6027\u80fd\u548c\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<p><h3>\u6027\u80fd\u4f18\u5316<\/h3>\n<\/p>\n<p><p>\u5229\u7528Service Workers\u8fdb\u884c\u9884\u7f13\u5b58\u548c\u61d2\u52a0\u8f7d\u8d44\u6e90\u53ef\u4ee5\u663e\u8457\u52a0\u5feb\u5e94\u7528\u7684\u52a0\u8f7d\u65f6\u95f4\u3002\u9884\u7f13\u5b58\u6700\u91cd\u8981\u7684\u8d44\u6e90\u4ee5\u5b9e\u73b0\u5feb\u901f\u9996\u6b21\u52a0\u8f7d\uff0c\u548c\u61d2\u52a0\u8f7d\u4e0d\u90a3\u4e48\u91cd\u8981\u7684\u8d44\u6e90\u53ef\u4ee5\u51cf\u5c11\u521d\u59cb\u8f7d\u5165\u65f6\u95f4\uff0c\u8fdb\u4e00\u6b65\u4f18\u5316\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<p><h3>\u52a8\u6001\u5185\u5bb9\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u9891\u7e41\u66f4\u65b0\u7684\u5185\u5bb9\uff0c\u5982\u65b0\u95fb\u6587\u7ae0\u6216\u793e\u4ea4\u5a92\u4f53\u5e16\u5b50\uff0c\u91c7\u7528\u9002\u5f53\u7684\u7f13\u5b58\u7b56\u7565\u81f3\u5173\u91cd\u8981\u3002Service Workers \u53ef\u4ee5\u914d\u7f6e\u6210\u5728\u7528\u6237\u8bf7\u6c42\u8fd9\u4e9b\u5185\u5bb9\u65f6\u4ece\u7f51\u7edc\u83b7\u53d6\u6700\u65b0\u7248\u672c\uff0c\u5e76\u5728\u6ca1\u6709\u7f51\u7edc\u8fde\u63a5\u65f6\u63d0\u4f9b\u6700\u540e\u7f13\u5b58\u7684\u7248\u672c\uff0c\u5b9e\u73b0\u6700\u4f18\u7684\u5185\u5bb9\u66f4\u65b0\u548c\u79bb\u7ebf\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u6848\u4f8b\u7814\u7a76\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h2>\n<\/p>\n<p><p>\u4ece\u7406\u8bba\u5230\u5b9e\u8df5\uff0c\u67e5\u770b\u5177\u4f53\u7684\u6848\u4f8b\u7814\u7a76\u4ee5\u53ca\u6700\u4f73\u5b9e\u8df5\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3\u5982\u4f55\u6709\u6548\u5730\u5728Angular\u5e94\u7528\u4e2d\u4f7f\u7528Service Workers\u3002<\/p>\n<\/p>\n<p><h3>\u6210\u529f\u6848\u4f8b<\/h3>\n<\/p>\n<p><p>\u5206\u6790\u90a3\u4e9b\u6210\u529f\u96c6\u6210\u4e86Service Workers\u7684Angular\u5e94\u7528\u53ef\u4ee5\u63d0\u4f9b\u5b9d\u8d35\u7684\u6d1e\u5bdf\u529b\u3002\u8fd9\u4e9b\u6848\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7Service Workers \u5b9e\u73b0\u5feb\u901f\u52a0\u8f7d\u3001\u79bb\u7ebf\u529f\u80fd\u548c\u7528\u6237\u53c2\u4e0e\uff0c\u4ee5\u53ca\u5f00\u53d1\u8005\u662f\u5982\u4f55\u514b\u670d\u5b9e\u9645\u6311\u6218\u7684\u3002<\/p>\n<\/p>\n<p><h3>\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u9075\u5faa\u6700\u4f73\u5b9e\u8df5\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u907f\u514d\u5e38\u89c1\u7684\u9677\u9631\u5e76\u6700\u5927\u9650\u5ea6\u5730\u5229\u7528Service Workers\u7684\u6f5c\u529b\u3002\u8fd9\u5305\u62ec\u7cbe\u5fc3\u8bbe\u8ba1\u7f13\u5b58\u7b56\u7565\u3001\u5b9a\u671f\u66f4\u65b0Service Workers\u4ee5\u53ca\u786e\u4fdd\u5e94\u7528\u6027\u80fd\u548c\u7528\u6237\u4f53\u9a8c\u7684\u6301\u7eed\u4f18\u5316\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u5728Angular\u4e2d\u6709\u6548\u5730\u4f7f\u7528Service Workers\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u521b\u5efa\u51fa\u66f4\u5feb\u3001\u66f4\u53ef\u9760\uff0c\u4e14\u5728\u79bb\u7ebf\u65f6\u4f9d\u7136\u53ef\u4ee5\u8ba9\u7528\u6237\u4f7f\u7528\u7684\u5e94\u7528\u3002\u6b63\u786e\u5730\u5229\u7528Service Workers\u7684\u529f\u80fd\u548c\u4f18\u5316\u7b56\u7565\u4e0d\u4ec5\u53ef\u4ee5\u63d0\u5347\u5e94\u7528\u6027\u80fd\uff0c\u8fd8\u53ef\u4ee5\u663e\u8457\u63d0\u5347\u7528\u6237\u6ee1\u610f\u5ea6\u548c\u53c2\u4e0e\u5ea6\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. Service Worker\u662f\u4ec0\u4e48\uff1f\u5728Angular\u4e2d\u5982\u4f55\u4f7f\u7528\u5b83\uff1f<\/strong><\/p>\n<p>Service Worker\u662f\u4e00\u79cd\u5728\u6d4f\u89c8\u5668\u540e\u53f0\u8fd0\u884c\u7684\u811a\u672c\uff0c\u7528\u4e8e\u5904\u7406\u79bb\u7ebf\u7f13\u5b58\u3001\u63a8\u9001\u901a\u77e5\u548c\u7f51\u7edc\u8bf7\u6c42\u62e6\u622a\u7b49\u529f\u80fd\u3002\u5728Angular\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528angular\/service-worker\u6a21\u5757\u6765\u542f\u7528\u548c\u914d\u7f6eService Worker\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5@angular\/service-worker\u5305\uff0c\u5e76\u5728angular.json\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5fc5\u8981\u7684\u914d\u7f6e\u3002\u7136\u540e\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2aservice-worker.js\u6587\u4ef6\uff0c\u5e76\u5728\u5176\u4e2d\u7f16\u5199\u81ea\u5b9a\u4e49\u7684Service Worker\u903b\u8f91\u3002\u6700\u540e\uff0c\u5728\u5e94\u7528\u7684\u4e3b\u6a21\u5757\u4e2d\u8fdb\u884c\u6ce8\u518c\u5e76\u542f\u7528Service Worker\u3002\u8fd9\u6837\uff0cAngular\u5e94\u7528\u5c31\u80fd\u591f\u53d7\u76ca\u4e8eService Worker\u7684\u5404\u79cd\u529f\u80fd\u4e86\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5728Angular\u5e94\u7528\u4e2d\u5b9e\u73b0\u79bb\u7ebf\u8bbf\u95ee\uff1f<\/strong><\/p>\n<p>\u901a\u8fc7\u4f7f\u7528Service Worker\uff0c\u4f60\u53ef\u4ee5\u5b9e\u73b0Angular\u5e94\u7528\u7684\u79bb\u7ebf\u8bbf\u95ee\u529f\u80fd\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b9a\u4e49\u4e00\u4e2a\u7f13\u5b58\u7b56\u7565\uff0c\u7528\u4e8e\u5c06\u5e94\u7528\u7684\u5404\u4e2a\u8d44\u6e90\uff08\u5982HTML\u6587\u4ef6\u3001CSS\u6837\u5f0f\u8868\u3001JavaScript\u811a\u672c\u7b49\uff09\u7f13\u5b58\u5230\u6d4f\u89c8\u5668\u4e2d\u3002\u7136\u540e\uff0c\u5728Service Worker\u4e2d\u6ce8\u518c\u4e00\u4e2afetch\u4e8b\u4ef6\u76d1\u542c\u5668\uff0c\u7528\u4e8e\u62e6\u622a\u7f51\u7edc\u8bf7\u6c42\u5e76\u6839\u636e\u7f13\u5b58\u7b56\u7565\u8fd4\u56de\u7f13\u5b58\u7684\u8d44\u6e90\u3002\u8fd9\u6837\uff0c\u5f53\u7528\u6237\u79bb\u7ebf\u65f6\uff0cAngular\u5e94\u7528\u53ef\u4ee5\u4ece\u7f13\u5b58\u4e2d\u52a0\u8f7d\u6240\u9700\u7684\u8d44\u6e90\uff0c\u4ece\u800c\u5b9e\u73b0\u79bb\u7ebf\u8bbf\u95ee\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u5728Angular\u5e94\u7528\u4e2d\u5b9e\u73b0\u63a8\u9001\u901a\u77e5\u529f\u80fd\uff1f<\/strong><\/p>\n<p>\u901a\u8fc7\u4f7f\u7528Service Worker\uff0c\u4f60\u53ef\u4ee5\u5b9e\u73b0\u5728Angular\u5e94\u7528\u4e2d\u53d1\u9001\u63a8\u9001\u901a\u77e5\u7684\u529f\u80fd\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728Service Worker\u4e2d\u6ce8\u518c\u4e00\u4e2a\u63a8\u9001\u8ba2\u9605\u4e8b\u4ef6\u76d1\u542c\u5668\uff0c\u7528\u4e8e\u83b7\u53d6\u7528\u6237\u7684\u8ba2\u9605\u4fe1\u606f\u3002\u7136\u540e\uff0c\u5728\u5e94\u7528\u7684\u4e3b\u6a21\u5757\u4e2d\u8c03\u7528\u76f8\u5e94\u7684API\u6765\u8bf7\u6c42\u7528\u6237\u7684\u8ba2\u9605\u6743\u9650\uff0c\u5e76\u5c06\u8ba2\u9605\u4fe1\u606f\u53d1\u9001\u5230\u670d\u52a1\u7aef\u8fdb\u884c\u4fdd\u5b58\u3002\u6700\u540e\uff0c\u5f53\u9700\u8981\u53d1\u9001\u63a8\u9001\u901a\u77e5\u65f6\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5411\u670d\u52a1\u7aef\u53d1\u9001\u63a8\u9001\u8bf7\u6c42\u6765\u89e6\u53d1\u63a8\u9001\u901a\u77e5\u3002\u670d\u52a1\u7aef\u6536\u5230\u63a8\u9001\u8bf7\u6c42\u540e\uff0c\u4f1a\u5c06\u76f8\u5e94\u7684\u901a\u77e5\u63a8\u9001\u7ed9\u5df2\u8ba2\u9605\u7684\u7528\u6237\u3002\u8fd9\u6837\uff0cAngular\u5e94\u7528\u5c31\u80fd\u591f\u5411\u7528\u6237\u53d1\u9001\u63a8\u9001\u901a\u77e5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Angular\u4e2d\u4f7f\u7528Service Workers\u80fd\u591f\u6781\u5927\u63d0\u5347\u4f60\u7684\u5e94\u7528\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\u3002\u901a\u8fc7Service W [&hellip;]","protected":false},"author":3,"featured_media":99747,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/99746"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=99746"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/99746\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/99747"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=99746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=99746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=99746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}