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?
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
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
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
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
Design/In-House SEO (Law Firm) - Freelance (Online Contest) - Lansing, MI SEO
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.