Page caching of home (index) page causes driver operation failures due to 
contention on static file
---------------------------------------------------------------------------------------------------

                 Key: OLIO-102
                 URL: https://issues.apache.org/jira/browse/OLIO-102
             Project: Olio
          Issue Type: Bug
          Components: rails-app
            Reporter: Mandy Waite
            Assignee: Mandy Waite


With page caching enabled for the home page, homePage, eventDetail and 
tagSearch operations would frequently fail with timeouts or file not found 
errors. All 3 of these operations potentially retrieve the home page. The 
cached home page (index.html) is served by the Web Server (tested with Lighttpd 
and NginX) but the file is constantly being updated as the cache is 
invalidated, this allowed a situation to arise where the Web Server would go to 
serve the file only to find it no longer there. This causes homePage ops to 
fail and the value of selectedEvent in the driver code to be set an 
indeterminate value. selectedEvent is used by tagSearch and eventDetail ops. If 
selectedEvent == null then they also lookup the homepage.

Because of this issue, by default the "caches_page" statement in 
events_controller.rb is commented out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to