"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53071],{3905:(e,r,t)=>{t.d(r,{Zo:()=>l,kt:()=>m});varn=t(67294);functiono(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functioni(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}returnt}functionp(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functiona(e,r){if(null==e)return{};vart,n,o=function(e,r){if(null==e)return{};vart,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);returno}(e,r);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}varc=n.createContext({}),u=function(e){varr=n.useContext(c),t=r;returne&&(t="function"==typeofe?e(r):p(p({},r),e)),t},l=function(e){varr=u(e.components);returnn.createElement(c.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){varr=e.children;returnn.createElement(n.Fragment,{},r)}},d=n.forwardRef((function(e,r){vart=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),d=u(t),m=o,f=d["".concat(c,".").concat(m)]||d[m]||s[m]||i;returnt?n.createElement(f,p(p({ref:r},l),{},{components:t})):n.createElement(f,p({ref:r},l))}));functionm(e,r){vart=arguments,o=r&&r.mdxType;if("string"==typeofe||o){vari=t.length,p=newArray(i);p[0]=d;vara={};for(varcinr)hasOwnProperty.call(r,c)&&(a[c]=r[c]);a.originalType=e,a.mdxType="string"==typeofe?e:o,p[1]=a;for(varu=2;u<i;u++)p[u]=t[u];returnn.createElement.apply(null,p)}returnn.createElement.apply(null,t)}d.displayName="MDXCreateElement"},37615:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>u,contentTitle:()=>a,default:()=>d,frontMatter:()=>p,metadata:()=>c,toc:()=>l});t(67294);varn=t(3905);functiono(){returno=Object.assign||function(e){for(varr=1;r<arguments.length;r++){vart=arguments[r];for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}returne},o.apply(this,arguments)}functioni(e,r){if(null==e)return{};vart,n,o=function(e,r){if(null==e)return{};vart,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);returno}(e,r);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}constp={sidebar_label:"PuppeteerNode.trimCache"},a="PuppeteerNode.trimCache() method",c={unversionedId:"api/puppeteer.puppeteernode.trimcache",id:"version-21.3.1/api/puppeteer.puppeteernode.trimcache",title:"PuppeteerNode.trimCache() method",description:"Removes all non-current Firefox and Chrome binaries in the cache directory identified by the provided Puppeteer configuration. The current browser version is determined by resolving PUPPETEER_REVISIONS from Puppeteer unless configuration.browserRevision is provided.",source:"@site/versioned_docs/version-21.3.1/api/puppeteer.puppeteernode.trimcache.md",sourceDirName:"api",slug:"/api/puppeteer.puppeteernode.trimcache",permalink:"/api/puppeteer.puppeteernode.trimcache",draft:!1,tags:[],version:"21.3.1",frontMatter:{sidebar_label:"PuppeteerNode.trimCache"},sidebar:"api",previous:{title:"PuppeteerNode.launch",permalink:"/api/puppeteer.puppeteernode.launch"},next:{title:"Puppeteer.clearCustomQueryHandlers",permalink:"/api/puppeteer.puppeteer.clearcustomqueryhandlers"}},u={},l=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2}],s={toc:l};functiond(e){var{components:r}=e,t=i(e,[