Simulation of browser caches incorrect
--------------------------------------
Key: OLIO-90
URL: https://issues.apache.org/jira/browse/OLIO-90
Project: Olio
Issue Type: Bug
Components: generic
Affects Versions: 0.1
Reporter: Shanti Subramanyam
Assignee: Shanti Subramanyam
Priority: Minor
The driver simulates browser caches by not requesting the images included in a
page 40% of the time. In reality, browsers make an 'if-modified-since' request
to the server and the server checks if the file was modified later than the
date specified in the request and if so it will return the file. Thus, this
will incur an additional request/response cycle which we are not capturing in
the driver/server interaction.
This bug will require fixes to both the driver and the server side. The driver
can use a timestamp equivalent to when the run started. The server code (for
PHP) must check for the existence of the if-modified-since flag. For rails,
since the app does not service these files, the server will automatically take
care of the request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.