WebFaction
Community site: login faq
0
1

At: http://docs.webfaction.com/software/static.html#static-only

It says when I initially set up a static server, I can enter "expires max" to set a ten year cache expiry for all files.

  1. What if I want a shorter value, say 1 hour or 30 hours?
  2. What if I want to change my mind later and set a different value? (the "Extra info" field is not visible after initial install)

Getting cache-control right can dramatically reduce server load (for us, and webfaction)!

asked 09 Jan '14, 10:36

brycenesbitt
921019
accept rate: 0%


What if I want a shorter value, say 1 hour or 30 hours?

We only support "expires max" at this time, so if you want more control over your cache, then you can either run run your own back-end Nginx as a custom app, or use a static/cgi/php app and set the cache parameters in htaccess.

What if I want to change my mind later and set a different value? (the "Extra info" field is not visible after initial install)

That doesn't seem right - I'll let our developers know about it.

permanent link

answered 09 Jan '14, 22:53

seanf
12.2k42136
accept rate: 37%

The "extra info" is definitely not there. The docs hint at it also, saying 'on initial setup you can...'. If the developer is working on it, why not support other values at the same time? Your server load will thank you.

(10 Jan '14, 08:12) brycenesbitt
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
×31
×28

question asked: 09 Jan '14, 10:36

question was seen: 2,638 times

last updated: 10 Jan '14, 08:12

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 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