Enable Gzip compression for .CSS and .JS files

This may be posted on the wrong forum, but I did not know a better place. My excuses if it should have been posted elsewhere.
Situation:
Several webpages are slow to load. Well, they are pretty large. Google Webmaster Tools suggests to GZIP several .CSS and .JS files to save up to 164 KB per page and my guess is that will make the loading a lot faster. I looked around the hosting site for tools to enable GZIP compression, but did not find them.
Question:
How can I enable GZIP compression on my pages and how do I do that? Does it pay to extend GZIP to the .HTML pages as well or is that not possible?
Reference: PPBM5 Benchmark and Holländische Poffertjes
The hosting company is 1and1.com

Barry, go to: http://ppbm5.com/Benchmark5.html and use one of the buttons for the performance charts.
There are 5 HTML pages, each around 740 KB. Compressing them would make a huge difference I think, but also the 164 KB that Google mentions.
These pages contain the same functionality, but different content.

Similar Messages

  • Is it possible to enable Web Cache gzip compression for 9iAS Disco Viewer?

    Hi,
    Sorry for repeating this question. But it's very urgent and we don't have any idea yet how to solve / work around it:
    To keep it short: Is it possible to use Web Cache gzip compression for pages rendered by 9iAS Discoverer Viewer???
    Our scenario: We have some Discoverer Worksheets which we want to access by ISDN dial in (64 kbit/sec). An average page needs 2 minutes only for sending the html/javascript output rendered by Disco Viewer to the client browser.
    To speed up the response time when users use this slow connection, we want to activate Web Cache gzip compression.
    The problem: But even when we enable Web Cache for Discoverer (configuration.xml and Web Cache rules), Web Cache doesn't compress pages generated by Discoverer Viewer. We found out that the generated responses contain the "content-disposition" HTTP-Header entry. Are we correct that this is the reason why there is no gzip compression? AND DOES ANYONE KNOW A WORKAROUND (p.e. configure Disco not to add the content-disposition http header)???
    Best regards,
    Matthias Scherer

    Matthias,
    Have you raised this as a TAR with Oracle Support? If you've got a specific question, and you need a definitive answer, raising a TAR is the best way to proceed.
    regards
    Mark Rittman

  • How Do I enable gzip compression on Sun One Web Server 6.0

    How Do I enable gzip compression on Sun One Web Server 6.0

    Hi,
    Sun ONE webserver 6.0 is over 5 years old and is reaching end of support life. Please consider upgrading to webserver 6.1sp5 which is free:
    http://www.sun.com/download/products.xml?id=434aec1d
    or else the preview version of WebServer 7.0 (also free)):
    http://www.sun.com/download/products.xml?id=446518d5
    For webserver 6.1, the docs for setting up compression are at:
    http://docs.sun.com/source/819-0130/agcontnt.html#wp1019634
    and
    http://docs.sun.com/source/817-6252/npgnsapi.html
    Hope this helps

  • How to enable password request for restart and shutdown?

    Hi,
    I'm neither a Linux nor an Arch Linux newbie, but inexperienced regarding this particular issue.
    I want to enable password request for restart and shutdown and want to know if I'm mistaken, because trial and error might become to time-consuming while working on a project.
    I read https://wiki.archlinux.org/index.php/Al … o_shutdown.
    $ ls -hAl /usr/bin/shutdown
    lrwxrwxrwx 1 root root 9 Apr 22 03:02 /usr/bin/shutdown -> systemctl
    If I try to run $ shutdown -hP 28 or $ shutdown -c nothings happens, I need to run $ sudo shutdown -hP 28 and $ sudo shutdown -c and type a password. That's the way I want it.
    If I e.g. run $ shutdown -r now no password is needed. I want to disable this. It should behave the same way as shutdown -hP/-c behave. I want to type
    $ sudo shutdown -r now or $ sudo systemctl reboot etc. and then the password should be required.
    $ sudo grep -vn "#" /etc/sudoers | grep [[:blank:]]
    72:root ALL=(ALL) ALL
    73:rocketmouse ALL=(ALL) ALL
    The user "rocketmouse" should have all permissions after typing a password, but not without typing the password.
    IIUC what's written at https://wiki.archlinux.org/index.php/Polkit, I need to edit
    $ pkaction | grep login
    org.freedesktop.accounts.set-login-option
    org.freedesktop.login1.attach-device
    org.freedesktop.login1.flush-devices
    org.freedesktop.login1.hibernate
    org.freedesktop.login1.hibernate-ignore-inhibit
    org.freedesktop.login1.hibernate-multiple-sessions
    org.freedesktop.login1.inhibit-block-idle
    org.freedesktop.login1.inhibit-block-shutdown
    org.freedesktop.login1.inhibit-block-sleep
    org.freedesktop.login1.inhibit-delay-shutdown
    org.freedesktop.login1.inhibit-delay-sleep
    org.freedesktop.login1.inhibit-handle-hibernate-key
    org.freedesktop.login1.inhibit-handle-lid-switch
    org.freedesktop.login1.inhibit-handle-power-key
    org.freedesktop.login1.inhibit-handle-suspend-key
    org.freedesktop.login1.power-off
    org.freedesktop.login1.power-off-ignore-inhibit
    org.freedesktop.login1.power-off-multiple-sessions
    org.freedesktop.login1.reboot
    org.freedesktop.login1.reboot-ignore-inhibit
    org.freedesktop.login1.reboot-multiple-sessions
    org.freedesktop.login1.set-user-linger
    org.freedesktop.login1.suspend
    org.freedesktop.login1.suspend-ignore-inhibit
    org.freedesktop.login1.suspend-multiple-sessions
    org.freedesktop.machine1.login
    IOW I need to replace every yes and no etc. with auth_admin in $ grep -v lang /usr/share/polkit-1/actions/org.freedesktop.login1.policy.
    Am I mistaken?
    Regards,
    Ralf

    You'll need to create a rules file which uses javascript.
    https://wiki.archlinux.org/index.php/Po … tion_rules
    // /etc/polkit-1/rules.d/10-admin-shutdown-reboot.rules
    polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.power-off" ||
    action.id == "org.freedesktop.login1.power-off-ignore-inhibit" ||
    /*...SOME_MORE_IDS_HERE...*/
    // return polkit.Result.AUTH_ADMIN_KEEP;
    return polkit.Result.AUTH_SELF_KEEP;
    Last edited by progandy (2015-06-21 17:42:35)

  • Calling css and js file in webcenter portal template

    Hi All,
    I stored all js and css file in wcc.I want to invoke css and js file in webcenter portal template .How can i invoke by direct link?
    First question, to get the direct link for the css file in webcenter content

    Copy Download URL of selected css file by Right click on the css file from Space => Documents and click on 'Get Links' in the popup menu. Copy the link for later use.
    FYI, Assuming files are uploaded to WCC via WebCenter Portal -> Spaces/Portal -> Document Explorer taskflow.
    In the similar lines, I wrote the following article titled "Using FusionCharts in Oracle WebCenter Portal" in which I upload the js files and swf files to WCC via Document Explorer taskflow. Later I made use of the direct link of js files to render charts using FusionCharts js files/swf files.
    https://blogs.oracle.com/nandakishorkn/entry/using_fusioncharts_in_oracle_webcenter
    Once you've direct link to css / js file(s), you can use af:resource tag like :
    <af:resource type="css" source="url" />
    <af:resource type="javascript" source="url" />
    See also :
    Creating and using Page Templates in Oracle Webcenter Portal Applications (Refer Slide#1-22)
    http://www.oracle.com/technetwork/middleware/webcenter/portal/learnmore/pagetemplates-1438595.pdf
    Run custom javascript when ADF page loads
    http://www.ateam-oracle.com/run-custom-javascript-when-adf-page-loads/
    I hope it helps!

  • Can't uncheck "Enable Rubber Band for Pen and Curvature Tool" in Preferences

    Can't uncheck "Enable Rubber Band for Pen and Curvature Tool" in Preferences. Anyone else have this problem?

    jartist,
    You may try the list.
    The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media, see below. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible), for CS3 - CC you may find the folder here:
    https://helpx.adobe.com/illustrator/kb/preference-file-location-illustrator.html
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall (ticking the box to delete the preferences), run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • "Tag Editor" for M4A and M4V Files?

    I got major corruption in my music files, resulting in either 2 extra letters being inserted in the file names just ahead of the period between the file name and the extension, or the entire filename being replaced by 4 random letters. Found some tag editors that will let me repair MP3 files, by pulling tag data out of the file and using it to fix the file names. Does something like that exist for m4a and m4v files?

    No, I'm not suggesting that at all, I was replying to another poster who said they couldn't add artwork to an mp4 at all.
    Your equipment likely has nothing to do with this, I have a dual 4 core 3 Ghz Xeon CPU and I too have a considerable wait sometimes adding artwork to some files.
    mp4 containers can hold either mpeg4/2 or mpeg4/10, (simple mpeg4 and AVC) and each compression type has a whole array of complexity types associated with it, much the same can be said for audio in the mp4 container.
    What I'm saying is that some mp4's will take time to add artwork, some will do it straight away and there are situations where some mp4's won't take artwork. It isn't your system, your hardware or anything you are doing wrong, it's the way it is.

  • .css and .swf files are getting generated with Ibot email

    Hi Team,
    I have an Ibot which use to run on daily basis which contains graph and normal table views, .css and .swf files are getting generated and attached with Ibot email to the users. I'm facing this issue from last two days. Earlier there was no such attachments sent to the users.
    Could anybody let me know what might be the reason for that?

    any inputs?

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • Bridge does not show dimensions for .PDF and .AI files

    Is there any way to see the dimensions in cm (or inch) for PDF and AI files in Bridge? I'm using Bridge CS5 4.1.0.54 as part of CS5.5 Design Premium, have set the preferences in Bridge to show them, but there are no values in the metadata fields for dimensions in inch/cm. I don't know if this behaviour is normal or if there's something wrong with my installation...
    TIA,
    Matthias

    May be 'dimension' is not the right word/translation. In my german version it says 'Abmessungen (in Zoll)' or 'Abmessungen (in cm)', which should mean something like 'dimension' or 'size'. DIN A4, A5, US Letter, Legal etc. pp. in cm or inch.

  • I keep getting a "missing plugin" for midi and mp3 files.

    I keep getting a "missing plugin" for midi and mp3 files I want to listen to online.  These are Hymn files.  And I get a message telling me I have a missing plugin. Any ideas?

    My husband used to be able to convert ABC files to MIDI files .  This allows sheet music to be played on the computer so as to learn a tune.  We get the Missing Plug in  message.
    I downloaded the Quicktime 7.   I open Quick time, Still get the message.  What is the solution? 
    If you need to look at an example, go to "The Session" website:
    http://thesession.org/tunes/2265
    Thank you,
    Mary

  • SOftware for compressing, decompressing, encrypting and dencrypting files

    Hi, I'm new to the Mac world. I'm struggling to find a software that can open my .rar or .zip password-protected files (created in PCs) and that can create other password-protected either zip or rar files to be used in the mac or pc. I know all about disk utility but that's helpful only for Mac. And i've also read re certain applications that do part of work but don't know yet of any soft that serves as a one-stop shop solution for opening, creating, encrypting and decrypting files. Your assistance would be highly appreciated. thank you

    I know nothing about it but have a look at TrueCrypt (http://www.truecrypt.org/). It is a cross-platform application. Have you maybe thought about encrypting a flash drive and using that to store your files? I know it has a portable mode but again, I don't know anything about the program so you will have to look through the documentation.

  • Enabling GZIP compression on the HTTPBC or a suggested alternative approach

    Hi,
    I posted this on the openusb-users group, but I haven't come up with a good solution yet.
    Any takers?
    Thanks,
    Rob
    http://openesb-users.794670.n2.nabble.com/gzip-compression-support-in-HTTP-BC-tp5366301.html
    Does anybody know whether the HTTP BC shares all of the same features that the Glassfish HTTP listener supports such as gzip compression? If so, where are those parameters specified for the HTTP BC? (Compression of the XML can of course make a tremendous bandwidth savings for the typical XML passed around via SOAP.)
    Please see:
    http://docs.sun.com/app/docs/doc/820-4338/abhco?a=view
    compression - on
    Specifies use of HTTP/1.1 GZIP compression to save server bandwidth. Allowed values are:
    off – Disables compression.
    on – Compresses data.
    force – Forces data compression in all cases.
    positive integer – Specifies the minimum amount of data required before the output is compressed.
    If the content-length is not known, the output is compressed only if compression is set to on or force.
    compressableMimeType text/html,text/xml,text/plain
    Specifies a comma-separated list of MIME types for which HTTP compression is used.
    If there isn't a way to configure the HTTPBC, What would be the best way to enable a gzip compression of the XML for the HTTPBC or JBI framework in general?
    My first approach might be to just have a Glassfish HTTP-Listener based WebService delegate to the HTTPBC or more directly to the JBI SE components if possible. Maybe a filter on the HTTPBC to gzip the payload? Are there any plans to refactor HTTPBC to use the Glassfish HTTP Listener code, it appears to have more capability and options?
    Rob

    I tried it did not work.
    Below are the steps which I did:
    Test2: Table level compression test
    ===================================
    CREATE TABLE SCOTT.TEST_PMT_TAB_COMP
    PMT_ID INTEGER NOT NULL,
    PMT_AGCY_NBR CHAR(7 BYTE),
    PMT_SBAGCY_NBR CHAR(7 BYTE),
    PMT_PAY_DT DATE,
    PMT_POL_NBR CHAR(14 BYTE),
    PMT_POL_SEQ_NBR CHAR(2 BYTE),
    PMT_PRM_INSD_NM VARCHAR2(30 BYTE),
    PMT_PAY_TYP_DESC VARCHAR2(20 BYTE),
    PMT_PAY_AMT NUMBER(11,2),
    PMT_POST_DT DATE
    COMPRESS FOR ALL OPERATIONS;
    inserting record from the test table:
    SQL> insert into SCOTT.TEST_PMT_TAB_COMP select * from SCOTT.TEST_PMT;
    5051013 rows created.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from scott.TEST_PMT_TAB_COMP;
    COUNT(*)
    5051013
    Checking size:
    SQL> select bytes/1024/1024, segment_name, owner, segment_type, tablespace_name from dba_segments where segment_name='TEST_PMT_TAB_COMP';
    BYTES/1024/1024 SEGMENT_NAME OWNER SEGMENT_TYPE TABLESPACE_NAME
    776 TEST_PMT_TAB_COMP SCOTT TABLE USERS_DATA01
    SQL> select owner, table_name, COMPRESSION, COMPRESS_FOR from dba_tables where table_name='TEST_PMT_TAB_COMP';
    OWNER TABLE_NAME COMPRESS COMPRESS_FOR
    SCOTT TEST_PMT_TAB_COMP ENABLED OLTP
    Now it is occupying more size.

  • Enable Reader Rights  for Commenting and Markup in Acrobat X Pro?

    I am sure there is a nice long thread somewhere on this but I cannot find the old "Enable for Commenting and Review" in Acrobat X Pro (Windows 7, 32 bit). I get basic comments (sticky and highlight) but i need to make a PDF where my Reader X users can make all the comments and markups. I also tried doing the Send for Review task and it still did not have all the tools in Reader X.

    File > Save As > Reader Extended PDF > Enable Commenting & Measuring

  • Best file format for PS and Illustrator files to be placed into ID

    I'm writing a proposal using InDesign. It will be output to PDF for circulation among the team members; I imagine they will view it on a variety of screens and some will print it out on various desktop printers.
    I have a variety of images, all in color, done in InDesign, Photoshop and Illustrator that need to be placed into the propsal. Sizes range from 5x7 to 2x2. Some are quite complex with fine detail.
    I've just viewed the proposal in ID Overprint Preview / High Quality Display. The images don't look great. Lots of ragged lines.
    I usually save everything to JPEG with a quality of 80-90...but that is just a habit, I have no reason or justification for this practice.
    I'm wondering if I should go back into the original ID, PS and AI files and resave them as something else before and then place them again.
    Does anyone have any recommmendations or thoughts to offer?
    I'm using CS4 on a MAC. My computer is a little bit underpowered for the project at hand, but I'm willing to put up with a bit of slow performance and lag if it results in a better end product.

    Jagged lines is a hallmark of low resolution, not file type, or a lower quality screen preview than you think you are using. Check the Display performace settings again to be sure they really are correct, and if they're set to allow object level settings, you'll need to verify that each object is also set correctly.
    Beond that, saving as .jpeg is always destructive. For the web, that's fine, but for print you should never use anything, in my opinion, but the highest quality settings for saving jpegs, and I advise again using jpeg at all. If you image is all raster data (pixels) save as .psd or .tif. If it has live type or other vector content, save as Photoshop PDF. In Illustrator save as .ai or PDF with Illustrator editing capability. If you change the extension of the Photoshop PDFs to PDP they will open in Photoshop instead of Acrobat when you use Edit Original.
    As I said, the jaggies are a hallmark of low resolution. We often have people tell us that the file is 300 ppi, but it turns out that's at some very small dimension and the imaga has been scaled up in ID. Both the Links panel and Info panel can show you the resolution information for your images. There will be two numbers, actual and effective. Effective resolution is the only number that matters. For printing on a desktop printer I like to see a minimum of 150 ppi, but you might get away with as low as 90 for a non-critical image. For press 300 ppi would be the rule of thumb, and dropping below 200 is asking for trouble.
    How the file looks in ID is not nearly as informative as how a PDF exported from the file looks, or prints. For a high-res image in ID you are still looking at a lower resolution screen preview, not the actual image as it will be output. Export settings that downsample too far or apply too much compression to reduce file size can also turn a good document into a clunker.

Maybe you are looking for

  • ORA-01017: invalid username/password - on RAC

    Hi, I have a RAC with two nodes. From time to time i am getting the follwoing error message: ORA-01017: invalid username/password; logon denied $ echo $ORACLE_BASE /u01/app/oracle $ echo $ORACLE_HOME          /u01/app/oracle/product/11.2.0.3/dbhome_1

  • Satellite M100 - Right click context menu kepps popping up

    The right click context menu keeps popping up in my Toshiba Satelite M100 thereby making it so hard to type. I disabled my touch pad and used a mouse but still the menu keeps popping up. What should I do? How do I know whether my touchpad driver is i

  • My MP4 video's dont playback sound in premiere 13

    I have a few issues with Adobe Premiere that have me very upset . 1. I had premier 11 had the same issue , so talked with your sales rep , he said the files would playback with sound if I upgraded ..so I dug deep threw down the coin ..and upgraded ,

  • Slideshow playback has no music. Suggestions?

    Hi All, Running latest LR 1.3.1, on a MacBook Pro 15" Intel, with latest Leopard updates. Lightroom Slideshow will play fully normal with transitions, etc., using both factory and custom user-adjusted settings. Looks great, except, there is no music.

  • HT5714 If I preorder when does iTunes take money from my iTunes account?

    When do I get charged for preordering something on iTunes?