Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
Switch branch/tag
  • TYPO3.CMS
  • ..
  • Form
  • InlineStackProcessorTest.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [!!!][TASK] Streamline caching framework caches · 828f4262
    Benni Mack authored Feb 07, 2019 and Anja Leichsenring's avatar Anja Leichsenring committed May 16, 2019
    Due to some heavy history on the caching framework, all
    Database caches start with "cf_cache_", which is optimized
    so they are only called e.g. "cache_pagesection" in the database tables.
    
    In addition, the prefix "cache_" (in e.g. "cache_core") is unnecessary,
    and also there due to legacy reasons, reading $this->getCache('cache_runtime')
    seems very illogical.
    
    The following caches have been renamed:
    - cache_core => core
    - cache_hash => hash
    - cache_pages => pages
    - cache_pagesection => pagesection
    - cache_runtime => runtime
    - cache_rootline => rootline
    - cache_imagesizes => imagesizes
    
    Old identifiers can still be called within PHP,
    but the caching framework throws a deprecation message
    on setting up such a cache.
    
    A silent upgrade wizard will update one's LocalConfiguration
    to use the new naming scheme.
    
    The result is a cleaner, more readable and more streamlined
    code base (we have caches like "extbase" or "assets" where
    there is no prefix) and database structure.
    
    The patch is breaking due to the change in the database tables.
    
    Resolves: #88366
    Releases: master
    Change-Id: I13dcdb0d1bf78f0899615e850856de081b715358
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59661
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
    Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    828f4262