Permalink
Browse files

New NGINX directives to improve file download time

  • Loading branch information...
davidmerfield committed Jan 10, 2019
1 parent 2d742df commit 178b06939aa6f49bbc1498402353d73c533fe3ca
Showing with 11 additions and 9 deletions.
  1. +8 −8 app/templates/photos/folder/Pages/about.txt
  2. +2 −0 config/nginx/blot-site.conf
  3. +1 −1 config/nginx/static-file.conf
@@ -4,24 +4,22 @@

The purpose of this theme is to display photos. Its navigation should get the fuck out of the way when you are looking at photos. It should offer a way to browse photos at different sizes. The [homepage](/) shows a feed a of recently published photos. The [archives](/archives) give an overview of all the photos published on this site.

A few links useful:
{>|} [Download a copy of the folder](/folder.zip) (22mb) from which this site is generated. [View the source for this template](). Blot's source code, including this template, is dedicated to the public domain.

- [Download a copy of the folder](/folder.zip) (22mb) from which this site is generated if you are interested in how the photos are organized.
- [View the source for this template](). Blot's source code, including this template, is dedicated to the public domain.
- [View the source file for this page](?source=true)
The images on this site are courtesy of the [IEMS](http://iems-ferox.com). Many thanks to the brave souls on the [Ferox expedition](http://iems-ferox.com) for their kind contributions to the public domain.

Gavin Atkinson's [compilation of image user interfaces](https://www.are.na/gavin-atkinson-1489764520/image-ui) has been useful to discover some interesting techniques to navigate and index images in a browser.

{>|} Line me up, bitch.


{>|} ![Image](/_image_cache/560717cb-4ad7-4fb3-923d-09ad705eb282.jpg)


- The 'Close' button which dumps you back into the previous index page is rather useful.
- The fade-on-load feature for the grid of images is rather nice. It's a pretty simple technique and I'm going to use it again here.

The images on this site are courtesy of the [IEMS](http://iems-ferox.com). Many thanks to the brave souls on the [Ferox expedition](http://iems-ferox.com) for their kind contributions to the public domain. In particular, I'd like to extend a warm handshake to EESA Director Dwight M. Müller.
{>|} Interested to see how the layout for this page was marked up? [View the source file for this page](?source=true)




***

@@ -39,6 +37,8 @@ I've been trying hard to focus on getting the details right. Here are a few thin

Typographically, I have tried to keep things as quiet as possible. When designing a theme, it's easy to get lost in the ornamentation of the theme's *chrome*, its menu bar, its search field. It's colors. I like the menu and page typography of [Georgia Kareola's website](https://notapipe.today)

{>|} ![Image](/_image_cache/560717cb-4ad7-4fb3-923d-09ad705eb282.jpg)

{>|} BITCH I'm flowing straight from the survival scrolls

Things to do:
@@ -31,6 +31,8 @@ if ($cookie_connect.sid) {
location / {
add_header 'Cache-Hit' 'true-permanent' always;
add_header 'Cache-Control' 'max-age=31536000' always;
aio on;
directio 512;
try_files $cache_permanent_folder @temporary;
}

@@ -148,7 +148,7 @@ types {
if_modified_since before;

sendfile on;
sendfile_max_chunk 1m;
sendfile_max_chunk 512k;

tcp_nopush on;
tcp_nodelay on;

0 comments on commit 178b069

Please sign in to comment.