Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8869439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:28:58+00:00 2026-06-14T17:28:58+00:00

I have an application who has different interface for different role I want to

  • 0

I have an application who has different interface for different role

I want to cache the application and update it if the user change his role

example :
Role user –> http://www.sample.com/index.jsp (user version)
Role admin –> http://www.sample.com/index.jsp (admin version)

Case 1 : if the user1 access to http://www.sample.com/index.jsp with Role User and his previous connection was with the Role User —> use the cached version

Case 2 : if the user1 access to http://www.sample.com/index.jsp with Role Admin and his previous connection was with the Role User —> update cache

I am using jquery mobile, html 5 , Java/Spring

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T17:28:59+00:00Added an answer on June 14, 2026 at 5:28 pm

    You can’t. To update the cache, the manifest MUST be changed, at least one byte somewhere in the file. Once the site is cached, the client only ever reloads the manifest itself to check if it has changed. If it hasn’t, the cached data is used. If it has changed, all ressources listed under “CACHE” are loaded and cached.

    To do what you plan you will most likely need a dynamic manifest, so that you can send it back slightly different, depending on whether a user an admin requests it.
    A possible way to dynamically change the manifest depending on admin or user would be to have two seperate manifest files on the serverside. They would be requested over a single URL. The server checks if the user is an admin or not (however you do that) and returns the correct manifest file. This way the cache would only be reloaded if a user changes from admin to client or the other way around.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have application who use specific process during running and i want to sample
I have a Unity3D application who needs registration. The user needs to register in
I have a customer who wants an application for his travels where he can
We have developed an application for a company who want to release it under
I have an application that has to save an uploaded file to 2 different
Currently we have an application who use spring who support mysql. Some people prefer
I am building a Rails application that contains Developer s who have Application s.
I have a an application with interns who can apply to internships. We have
I have developed a application for a client who uses windows 7 home premium
In my application I have a customer who can have multiple locations. When you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.