YSlow shows bad results (Images are translated?)
OnkelTem - February 6, 2009 - 22:40
| Project: | Internationalization |
| Version: | 5.x-2.5 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Hi,
After enabling this modules images paths are rewritten so that they get language code. Now they are not simply taken from web server by direct URLs, instead every image goes through Drupal and gets wrong headers like Expire in past, no-cache etc. For example, YSlow "Stat" shows that a cached page makes 16 HTTP requests instead of 1.
What makes images to get lang code prefix?
How to get rid of this?

#1
Well, I think I found a kind of quick solution of this problem.
Creating directory symlinks for every lang code in the site root makes all stuff available by direct URLs. LIke
/www/includes
/misc
/modules
...
~ru -> .
~en -> .
...
Yet to realize all possible side effects and problems with this.. Any thoughts?
#2
#222155: Image problem: the image path is changing because of internationalization