Roxen.git / server / modules / tags / static_resource.pike

version» Context lines:

Roxen.git/server/modules/tags/static_resource.pike:96:       if(id->prestate["cache-forever"]) {    if (res->extra_heads) {    m_delete(res->extra_heads, "cache-control");    m_delete(res->extra_heads, "Cache-Control");    m_delete(res->extra_heads, "expires");    m_delete(res->extra_heads, "Expires");    }       RAISE_CACHE(expire_time); +  PROTO_CACHE();       id->misc->vary = (<>);    return res;    }   }      TAGDOCUMENTATION;   #ifdef manual   constant tagdoc = ([    "serve-static-resources":#"<desc type='tag'><p><short>Specifies a block of tags referring static resources.</short> Wrap this tag around your block of static resource referring tags.</p>   <ex-box>   <serve-static-resources>    <link rel=\"stylesheet\" href=\"/index.css\"/>    <script type=\"text/javascript\" src=\"/index.js\"/>   </serve-static-resources>   </ex-box>   <p>Note: Only local absolute paths will be processed, i.e. they have to begin with a '/'.</p>   </desc>"   ]);   #endif // manual   Newline at end of file added.