Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

RFC: "test" block in apache config #93

Open
jgara opened this issue Oct 21, 2021 · 0 comments
Open

RFC: "test" block in apache config #93

jgara opened this issue Oct 21, 2021 · 0 comments
Assignees

Comments

@jgara
Copy link
Collaborator

jgara commented Oct 21, 2021

There's a small block in catalyst's /etc/httpd/conf.d/01_catalyst.conf labeled "TODO: test". Is it needed or helpful?

  ### TODO: test
  # Cache Rails finger-printed assets, as per
  # http://guides.rubyonrails.org/asset_pipeline.html#precompiling-assets
  # Try only match if the asset actually has a fingerprint in it.
  <LocationMatch "^/assets/.*-[0-9a-f]{32}.*$">
  #<Location /assets/>
    # Use of ETag is discouraged when Last-Modified is present
    Header unset ETag
    FileETag None
    # RFC says only cache for 1 year
    ExpiresActive On
    ExpiresDefault "access plus 1 year"
  </LocationMatch>
@jgara jgara assigned jgara and little9 and unassigned jgara Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants