#380 Static Resource Handling

v1.0.0
closed
nobody
None
General
nobody
2015-08-20
2010-07-07
Anonymous
No

Originally created by: sf-overlords

Created by: mramm
Created date: 2010-05-16 21:59:14.887000
Assigned to:jsteele

We should move static resources into a folder, and then setup a way to serve those resources out of a CDN.

  • move all resources into /nf or /static (depending on if we can have static)
  • add a CDN prefix config value to the ini file (default to /sf)
  • add a static() helper function that prepends the right stuff to the url for the static item
  • update all static resource URL's to use that static url helper
  • get SOG to setup CDN and Nginx to serve up static files in production.

We can do just the /nf thing if we're pressed for time before wednesday's release.

Discussion

  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by rcopeland:

     
  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by jsteele:

     
  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by mramm:

    description has changed

     
  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by jsteele:
    I've created a global function to provide the correct static path and changed all the files to reside under /nf. The cdn tasks still remain to be done.

    • assigned_to: Jenny Steele
     
  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by mramm:

     

Log in to post a comment.