openlab-at-city-tech / webworkqa

WeBWorK integration for WordPress and BuddyPress
GNU General Public License v2.0
4 stars 2 forks source link

in-use image was purged #81

Closed moui72 closed 7 years ago

moui72 commented 7 years ago

it looks like we lost an image at some point that is still supposed to display on production

page url https://openlab.citytech.cuny.edu/ol-webwork/#/problem/local/LawOfSines/geometric-AAS.pg/question-201

image url http://mathww.citytech.cuny.edu/webwork2_files/tmp/MAT1275-F16-Parker//gif/ae32b78c-ff00-3b18-a5a3-1839f7425e49___317ab538-3c69-3f42-960d-554ee89c6332.png

is this as intended, since the semester ended? do have policy for image expiration date?

bree-z commented 7 years ago

In case it's helpful, here's another one:

page url: https://openlab.citytech.cuny.edu/ol-webwork/#/problem/local/GraphingSineCosine/identify-amplitude.pg/question-176

image: http://mathww.citytech.cuny.edu/webwork2_files/tmp/MAT1275-F16-Parker//gif/53862018-71c8-38f6-b57d-db236753768d___874be349-0a9e-31f1-962a-74f538106072.png

boonebgorges commented 7 years ago

Ping @drdrew42 - I don't know the answer to this one.

drdrew42 commented 7 years ago

Oh, right. This escaped my prior thinking on this subject - but the course turnover between semesters is going to cause an issue regardless of the image cache flush.

Between semesters I archive the courses from the previous semester - which removes access to the course. I could keep old courses available, but this means all the old student data will persist in the SQL database. After a few semesters, this would begin to negatively impact WeBWorK's response time. I think this is another argument for archiving any images on the OpenLab side.

boonebgorges commented 7 years ago

Thanks for the clarification, @drdrew42. See #39 - I'll be sure to prioritize that for the spring.