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

  • SEARCH
  • Home
  • 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 9253165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:08:57+00:00 2026-06-18T11:08:57+00:00

I have a very simple company profile site that I am developing using JSF2,

  • 0

I have a very simple company profile site that I am developing using JSF2, the only dynamic parameter that I am using is to determine the display language which is done using PrettyFaces. The site does not use any AJAX.

The only real reason for using JSF2 is the Facelets templating mechanism to maintain layout, CSS and JS across the site.

I want GAE to load the content from the JVM on first execution and then cache the content as static Facelets files for subsequent requests. I’ve noticed that static image files load much faster than any Java generated code, especially on the first request.

Are there any methods to achieve this functionality using appengine-web.xml or faces-config.xml ?

  • 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-18T11:08:58+00:00Added an answer on June 18, 2026 at 11:08 am

    AFAIK there is no way to have automatic out-of-the-box servlets/facelets response caching. However, you could always write your own caching servlet filter.

    OTOH, all GAE responses are transparently cached by Google CDN cache. You can achieve caching of any response by adding Cache-control HTTP header to it.

    Note that cache can not be programmatically expired, so if you set a cache time of an hour, then it’ll take existing users an hour to get new content, so you should use this cautiously in your code.

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

Sidebar

Related Questions

I currently have a very simple intranet that we are using for some basic
I have a very simple script that creates a user: <?php include 'mysqlserver.php'; session_start();
For a very simple example, A Company has man users. I have two tables,
I have a very basic page that displays a dynamic image. Here is my
I have very simple data model like this: create table Company ( id int
I have very simple piece of code. The goal is when i input four-digit
I have very simple OpenGL ES example similar to Hehe's example : http://nehe.gamedev.net/tutorial/ios_lesson_02__first_triangle/50001/ As
I have very simple window where I have 2 buttons - one for cancel,
I have a very simple table called Member , which consists of the following:
I have a very simple fxml file, with a checkbox: ... <AnchorPane id=AnchorPane xmlns:fx=http://javafx.com/fxml

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.