Skip to Content

Compression and Page Fragments

Hello!

In a view I include several page fragments using the <%@include... tag. The view has compression set on (remove leading/trailing spaces, carriage returns,?.). The result is, that all HTML-Code from the view is compressed, the HTML from the included page fragment is NOT compressed. Is this correct? I would have expected, that the view options are inherited to all includes.

In my BSPs I can save up to 25% using the compression, so I would like to compress all my includes too. But page fragments doesn?t have a compression option. Is there a way to compress page fragments? Or should I change the page fragments to views an include these? Does this have any disadvantages (except of redefining all page attributes)?

Thilo

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 15, 2004 at 01:14 PM

    Hi,

    i'm not sure that i understand your question...

    What do you mean with "view" ? Is this Portal's view..., JSP page...or what?

    And what about "compression" you're talking about - this kind of compression doesn't exists in J2EE engine.

    Could you explain more precisely?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.