Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

553
Views
¿Cómo habilitar la compresión gzip en la compilación de producción en angular 12?

1. Nuevo web.config.js integrado para compresión gzip, https://i.stack.imgur.com/MuVt4.png

2. Archivo angular.json actualizado, "build": { "builder": "@angular-builders/custom-webpack:browser", "options": { "outputPath": "dist", "index": "src/ index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.app.json", "customWebpackConfig": { "ruta": "./webpack.config.js" },

Los archivos dist están comprimidos con la extensión .gz y no se reflejan en el navegador después de la implementación.

3. 'content-encoding:gzip' no se muestra en el encabezado de respuesta de la red del navegador, https://i.stack.imgur.com/nkSoV.png .

¿Hay algo que manejar en el lado del servidor para habilitar esto?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

si está utilizando servidores web como apache / nginx, puede habilitar la compresión gz en su servidor web

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!