Melola Discovery

← Melola Discovery

Open access Jurnal SINTA 2

Website Optimization by Relocating Third-Party Script Using Web Worker

IJCCS (Indonesian Journal of Computing and Cybernetics Systems) · Vol. 20 No. 2 (2026) · pp. 119–128

DOI
10.22146/ijccs.108581
ISSN
2460-7258, 1978-1520
Published
2026-04-30
Publisher
IndoCEISS in colaboration with Universitas Gadjah Mada, Indonesia.
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

The use of third-party scripts such as Google Analytics, Meta Pixel, and Twitter Widget has become standard in modern website development. On a website, the main thread is the main line that handles the display process and user interaction in the browser. However, third-party scripts often overload the main thread and slow down page load time, degrading user experience. This study aims to optimize website performance by accelerating page load time, maintaining user interactivity, and improving resource efficiency. This research proposes an optimization method by moving the execution of third-party scripts to the Web Worker. By applying Script Offloading and Isolation, Inter-thread Communication, and Proxy Pattern methods, this system is able to safely move the execution to the background without affecting user interface interaction. The results of relocating third-party scripts to Web Workers on three types of websites (Blog, Company Profile, and E-commerce) showed an increase in performance score of up to 13.3% and a reduction in blocking time of up to 51.8%, although accompanied by an increase in memory of 1-4%. These findings indicate that using Web Worker significantly improves website performance with minimal negative impact on resource consumption.

Keywords

Collaboration network of the authors

2 authors · 1 co-authorship link

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Universitas Gadjah Mada
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://journal.ugm.ac.id/ijccs/oai, first harvested 26 Okt 2026, last seen 26 Okt 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">Website Optimization by Relocating Third-Party Script Using Web Worker</dc:title>
	<dc:creator>M.Kom, Nur Rokhman</dc:creator>
	<dc:creator>Andreanor, Muhammad Pazrin</dc:creator>
	<dc:subject xml:lang="en-US">computer science</dc:subject>
	<dc:subject xml:lang="en-US">Website Optimization, Performance, Third-Party Script, Web Worker, Main Thread, Multithreading</dc:subject>
	<dc:description xml:lang="en-US">The use of third-party scripts such as Google Analytics, Meta Pixel, and Twitter Widget has become standard in modern website development. On a website, the main thread is the main line that handles the display process and user interaction in the browser. However, third-party scripts often overload the main thread and slow down page load time, degrading user experience. This study aims to optimize website performance by accelerating page load time, maintaining user interactivity, and improving resource efficiency. This research proposes an optimization method by moving the execution of third-party scripts to the Web Worker. By applying Script Offloading and Isolation, Inter-thread Communication, and Proxy Pattern methods, this system is able to safely move the execution to the background without affecting user interface interaction. The results of relocating third-party scripts to Web Workers on three types of websites (Blog, Company Profile, and E-commerce) showed an increase in performance score of up to 13.3% and a reduction in blocking time of up to 51.8%, although accompanied by an increase in memory of 1-4%. These findings indicate that using Web Worker significantly improves website performance with minimal negative impact on resource consumption.</dc:description>
	<dc:publisher xml:lang="en-US">IndoCEISS in colaboration with Universitas Gadjah Mada, Indonesia.</dc:publisher>
	<dc:contributor xml:lang="en-US"></dc:contributor>
	<dc:date>2026-04-30</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en-US"></dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.ugm.ac.id/ijccs/article/view/108581</dc:identifier>
	<dc:identifier>10.22146/ijccs.108581</dc:identifier>
	<dc:source xml:lang="en-US">IJCCS (Indonesian Journal of Computing and Cybernetics Systems); Vol 20, No 2 (2026): April; 119-128</dc:source>
	<dc:source>2460-7258</dc:source>
	<dc:source>1978-1520</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.ugm.ac.id/ijccs/article/view/108581/43996</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2026 IJCCS (Indonesian Journal of Computing and Cybernetics Systems)</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>