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 8337403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:17:44+00:00 2026-06-09T04:17:44+00:00

http://www.playframework.org/documentation/2.0.2/JavaCache Atm i can’t find the Cache.remove method. I guess it’s not implemented yet?

  • 0

http://www.playframework.org/documentation/2.0.2/JavaCache

Atm i can’t find the Cache.remove method. I guess it’s not implemented yet?

Then I would need to use a 3rd party library cache solution such as memcached for now.

// 2.0 final
Cache.set("item.key", null, 0)
// later
Cache.remove("item.key")
  • 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-09T04:17:45+00:00Added an answer on June 9, 2026 at 4:17 am

    Although it’s totally unclear it can be read as:

    Since Play 2.0 final to remove cache entry use:

    Cache.set("item.key", null, 0);
    

    (it will set cache for item.key with null value, which will expire after 0 seconds)

    ‘later’ means that somebody forgot to add this method and it will be added later 😉

    Edit:

    This issue is already addressed in Play’s Lighthouse

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

Sidebar

Related Questions

I read the documentation http://www.playframework.org/documentation/1.1/tags#ageta and I don't get it. Can someone provide a
From the play2's doc: http://www.playframework.org/documentation/2.0/ScalaForms , there is a sample code: val loginForm =
I wondering is there an equivalent of this feature from play framework http://www.playframework.org/documentation/2.0/JavaAsync Basicly
I am new to play framework. tried to follow the tutorial http://www.playframework.org/documentation/1.2.4/guide2 when i
I was looking at this example in the section Assign static args http://www.playframework.org/documentation/1.2.4/routes but
I used the instructions from here: http://www.playframework.org/documentation/1.2.1/i18n and created files for different languages. I
I see in Play! 2.0 there is Http.Context.current() http://www.playframework.org/documentation/api/2.0/java/play/mvc/Http.Context.html#current () But in Play! 1.2.4
I am reading the documentation about the controller http://www.playframework.org/documentation/1.1/controllers and I know how to
Having trouble installing play! on windows. Following the installation guide on: http://www.playframework.org/documentation/1.2.4/install After installing
Here we have a link http://www.playframework.org/documentation/1.0.1/ide about how to configure playframework to be working

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.