Payday-2-BLT icon indicating copy to clipboard operation
Payday-2-BLT copied to clipboard

Cache mods download on paydaymods.com

Open fanthos opened this issue 7 years ago • 0 comments

When I am downloading from URL http://download.paydaymods.com/download/latest/BC, I found the download speed is very slow. When I am checking the response header, cache is disabled.

I think its better to put download site on CDN also, use the custom page rule provided by CloudFlare. Changing the Lastest Version download link to a HTTP 302 and redirect to static link for last version might be a good idea.

Response from http://download.paydaymods.com/download/latest/BC:

Date: Tue, 20 Jun 2017 08:37:04 GMT
Server: Apache/2.2.22 (Debian)
X-Powered-By: PHP/5.4.45-0+deb7u3
Set-Cookie: ci_session=xxx; expires=Tue, 20-Jun-2017 10:37:04 GMT; path=/; HttpOnly
Expires: 0
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Disposition: attachment; filename="BC_17.zip"
content-transfer-encoding: binary
Content-Length: 8661
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/octet-stream

fanthos avatar Jun 20 '17 08:06 fanthos