Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Epiphany Epiphany
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 234
    • Issues 234
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • EpiphanyEpiphany
  • Issues
  • #477
Closed
Open
Created Aug 08, 2018 by Daniel Aleksandersen@da

Move giant gsb-threats.db to XDG_CACHE_HOME (among other changes)

Google Safe Browsing database (gsb-threats.db) is not 200 MB of user configuration, but a locally cached database file that can be redownloaded and recreated on demand. It belongs in XDG_CACHE_HOME and not XDG_CONFIG_HOME as it is now.

Should be just one change in https://gitlab.gnome.org/GNOME/epiphany/blob/318a8ad17b7bcb66668a63ce3eef772f41c1df3f/embed/ephy-embed-shell.c#L564 and some migration code to delete the database from XDG_CONFIG_HOME.

(.config is for user configuration, .local is for user-created data, .cache is for non-unique re-creatable data such as files downloaded from the web)

Most backup software will exclude XDG_CACHE_HOME by default and 200 MB of malware and phishing lists isn’t something people normally want to backup.

Edited Sep 25, 2018 by Michael Catanzaro
Assignee
Assign to
Time tracking