Informações Principais
     Resumo
     Abstract
     Introdução
     Conclusão
     Download
  
  
  
 
Abstract
 
 
Acadêmico(a): Diego Leonardo Urban
Título: Resource Optimizer API: otimização de recursos de páginas web
 
Abstract:
This paper describes an Application Programming Interface (API) and a tool to optimize web page resources, trough the minification of Hypertext Markup Language (HTML), Cascading Style Sheet (CSS) and JavaScript files, as well as the optimization of Portable Network Graphics (PNG) and Joint Photographic Experts Group (JPEG) images. The development of the API was carried out with the JavaScript code interpreter Node.js, the Express framework and modules for minification and optimization provided by Node Package Manager (NPM). The tool developed in this paper also uses Node.js and Express and integrates with the API through the Hypertext Transfer Protocol (HTTP). The difference of this paper is that the tool has features to optimize resources through a zip file, while the API provides support for integration with other tools. The results show that the API is effective in compressing resources, reducing traffic data and page load time, but needs efficiency adjustments so it does not produce results that impact the page layout to change.