Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #430
Closed
Open
Created Mar 18, 2019 by Matija Obreza@mobrezaOwner

Improve caching

Figure out best response for incoming HTTP headers that affect caching. At this moment resources cached by CloudFront seem to get refreshed:

image image

Update cache response headers so that resources stay cached longer in our AWS Cloudfront.

TODO

Return Not modified when (see #clientCacheValid()).

  • Client header Etag matches
  • Header If-Modified-Since matches lastModifiedDate
  • Other headers?
  • Return Not modified HTTPS status as soon as possible in code
  • Consider updating maxage

Start with code in RepositoryDownloadController v1, then check all server code that now returns cache headers and add better cache-handling when possible.

Edited Mar 25, 2019 by Matija Obreza
Assignee
Assign to
Time tracking