ucsc / wcms-design-templates

Styles and Javascript for official UC Santa Cruz web templates
http://webassets.ucsc.edu
4 stars 3 forks source link

HTML head should be a server-side include file #333

Closed knice closed 9 years ago

knice commented 10 years ago

Certain portions of the HTML page are common to all pages in the system. One of those is the uniform HTML head, which contains the scripts, stylesheets and other meta information at the top of HTML page.

Any changes to this content requires us to republish every page of every site in order to have the updates take effect. This is impractical.

I'd like to explore a way to have a folder of include files that we can publish to from Cascade. These files could then be processed and included by the web server, rather than when the page is published.

There are several benefits to this method:

  1. Updates to the HTML head content could be made in real-time and wouldn't require republishing all of the pages in the system.
  2. Using this technique, we could finally implement the site-wide emergency alert banner across the top of all pages, rather than just the UCSC home page.
dajoturner commented 10 years ago

I'm Closing this like the rest of Enhancements. We'll evaluate after Rob's vacation.

knice commented 10 years ago

This will require some help from Jacques and WebOps to implement. I'm going to test the concept I have in mind and bring the request to next week's WebOps meeting.

dajoturner commented 10 years ago

@knice Any progress on this? Is it in scope, or should we hand this off to the Service Team?

knice commented 9 years ago

Out of scope. Closing for handoff. I'd still REALLY like to get to this, but it won't happen before we close this project.