<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9522</bug_id>
          
          <creation_ts>2016-04-26 13:47:04 +0000</creation_ts>
          <short_desc>Documentation isn&apos;t cachable</short_desc>
          <delta_ts>2018-11-09 15:56:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>Website</product>
          <component>web-structure</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>jefro</cc>
    
    <cc>mhalstead</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61689</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-26 13:47:04 +0000</bug_when>
    <thetext>The documentation, for example http://www.yoctoproject.org/docs/2.0.1/mega-manual/mega-manual.html, isn&apos;t cachable by either Chrome or Safari on my laptop.

Network tracing shows that whilst all the content - the images, stylesheet and so on - are all HTTP 304&apos;d so the local cache is used, mega-manual.html is always returned entirely instead of being cached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62158</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2016-05-12 17:20:42 +0000</bug_when>
    <thetext>We add Google Analytics during page generation for all of the .html files in the documentation. This updates the last-modified header and prevents the response from being cached.

There are a few ways to fix it:
  rebuild the webserver to support keeping the last-modified header static
  add the GA code to the static doc files after they are generated
  stop tracking how our docs are accessed

I&apos;ll pursue the first option since we don&apos;t lose anything and I don&apos;t interfere with Scott&apos;s workflow that way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74414</commentid>
    <comment_count>2</comment_count>
    <who name="Jeff Osier-Mixon">jefro</who>
    <bug_when>2017-06-20 21:23:14 +0000</bug_when>
    <thetext>we are making changes to the website - wanted to make sure to watch this to make sure we implement it in the new world order</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82130</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2018-11-09 15:56:48 +0000</bug_when>
    <thetext>This was resolved by the web server moves in March.

Seeing 304 for the main manual now and &quot;200 OK (from memory cache)&quot; for the other assets.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>