Submit Your Article Forum Rules

Results 1 to 6 of 6

Thread: gzip compression on jspacker.ashx

  1. #1
    Member
    Join Date
    Feb 2010
    Posts
    88

    gzip compression on jspacker.ashx

    I am trying to do this through htaccess, and have tried both deflate by extension and text/js, but cannot solve this .ashx issue.

    Have tried deflating by extension, but to no avail

    any tips?
    Design/In-House SEO (Law Firm) - Freelance (Online Contest) - Lansing, MI SEO

  2. #2
    WebProWorld MVP wige's Avatar
    Join Date
    Jun 2006
    Posts
    3,138
    ASHX files are ASP.net, which is generally only supported on Windows servers. .htaccess is not supported by Windows servers. What type of server are you using?
    The best way to learn anything, is to question everything.
    WigeDev - Freelance web and software development

  3. #3
    Member
    Join Date
    Feb 2010
    Posts
    88
    im using a linux server, but migrated the site from a windows server. the .ashx file is still active and running a scroll box on the site.
    Design/In-House SEO (Law Firm) - Freelance (Online Contest) - Lansing, MI SEO

  4. #4
    WebProWorld MVP wige's Avatar
    Join Date
    Jun 2006
    Posts
    3,138
    My guess then is that your Apache server does not know what type of file this .ashx file is. If the file is serving pure javascript, you might want to try renaming it to whatever.js and see if it gets compressed properly.
    The best way to learn anything, is to question everything.
    WigeDev - Freelance web and software development

  5. #5
    Member
    Join Date
    Feb 2010
    Posts
    88
    Quote Originally Posted by wige View Post
    My guess then is that your Apache server does not know what type of file this .ashx file is. If the file is serving pure javascript, you might want to try renaming it to whatever.js and see if it gets compressed properly.
    this worked! thank you!
    Design/In-House SEO (Law Firm) - Freelance (Online Contest) - Lansing, MI SEO

  6. #6
    Junior Member
    Join Date
    May 2010
    Posts
    1
    Apache dont understand the file name with extension .ashx so its better to rename the file or you have to re qrite the entire code in some other language.This is the drawback which apache is having and i am sure they will rectify it up in the next update.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •