Closed Bug 1000937 Opened 10 years ago Closed 9 years ago

semiauto web server should not cache static resources

Categories

(Firefox OS Graveyard :: Certification Suite, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ato, Unassigned)

Details

Attachments

(1 file)

Caching the static resources makes it tedious to develop against `python environment.py`.
There is a NoCacheStaticFileHandler(#L41) implemented in webapi_test/semiauto/server.py and been used(#L57).

https://github.com/mozilla-b2g/fxos-certsuite/blame/master/webapi_tests/semiauto/server.py#L41

https://github.com/mozilla-b2g/fxos-certsuite/blame/master/webapi_tests/semiauto/server.py#L57

This should be resolved by this implementation.
Attachment #8561904 - Flags: review?(jgriffin)
Attachment #8561904 - Flags: review?(atsai)
Comment on attachment 8561904 [details] [review]
Add more cache control to prevent cache

r=me. I'll wait for Jonathan's comment and merge that if Jonathan r+ as well.
Attachment #8561904 - Flags: review?(atsai) → review+
Comment on attachment 8561904 [details] [review]
Add more cache control to prevent cache

lgtm
Attachment #8561904 - Flags: review?(jgriffin) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: