WebFaction
Community site: login faq

I have a static-only app, containing HTML, JS, CSS and CSV files.

Can I rely on the nginx server gzipping all these files, or do I need to do anything special and/or set up my own copy of nginx to ensure that these files are gzipped?

This answer from johns suggests that "files served directly" from the nginx server will be gzipped - does that cover files in a static-only app?

Thanks for your help.

asked 05 Apr '12, 11:04

darkgreener
1124
accept rate: 0%


Yes that covers static-only apps as well as they are served by our nginx server.

permanent link

answered 05 Apr '12, 11:35

bmeyer71 ♦♦
1.5k3613
accept rate: 33%

Great, thanks!

(05 Apr '12, 11:46) darkgreener
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×97
×14

question asked: 05 Apr '12, 11:04

question was seen: 4,558 times

last updated: 05 Apr '12, 11:46

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM