Answers.Body: <p>No, it is not possible to store different versions of cached pages. Your best bet would be to use the <a href="https://putyourlightson.com/plugins/blitz#dynamic-content" rel="nofollow noreferrer">dynamic content</a> feature that Blitz provides for injecting the content that can vary based on the user into the cached page.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-17T08:07:40.190Z
Answers.LastActivityDate: 2020-09-17T08:07:40.190Z
Answers.UserDisplayName: Ben Croker
Body: <p>We're using Blitz cache for a client website. Works fine.</p>
  
  <p>Now we need to introduce variable content for different users (based on user groups)</p>
  
  <p>Is it possible to have different cached versions per user or per user group? </p>
  
  <p>For example, can we extend Blitz to alter the key (folder structure) under which a cached page is being saved?</p>
  
Tags: <cache>
Title: Separate cache per user or user group in Blitz cache
ThreadText: # Separate cache per user or user group in Blitz cache
  
  (Asked by: username_0 on 2020-03-14)
  
  We're using Blitz cache for a client website. Works fine.
  
  Now we need to introduce variable content for different users (based on user groups)
  
  Is it possible to have different cached versions per user or per user group?
  
  For example, can we extend Blitz to alter the key (folder structure) under which a cached page is being saved?
  
  **Tags:** cache
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-09-17. Score: 3 | Accepted answer
  
  No, it is not possible to store different versions of cached pages. Your best bet would be to use the [dynamic content](https://putyourlightson.com/plugins/blitz#dynamic-content) feature that Blitz provides for injecting the content that can vary based on the user into the cached page.
  
  
  ---
  
  