Wednesday 18 January 2006 9:46:51 pm
Hello, We just set up static cache in a 3.7.2 installation. Everything works as expected, and effectively our benchmarks moved from 0.2 - 2 request per second to a whopping 250 to 550 requests per second depending on concurrency and number of requests! Just beautiful. Yet, ive noticed that the titles using texxtoimage render as a simple html font, whereas in the non-cached version they show up correctly. The structure of the working (non static cached) image url's seems to be the same as the broken (static cached) not working image urls.
For example using static cache, the URL to the image:
http://www.site.com/var/cache/texttoimage/imagetext/0/0/e/00ec564ac8848a9f440300874f03c50f/Servicios.png Does not work and points to a Module Not Found, which makes me believe it is somehow being redirected.
After deleting the static content files, I get the same URL:
http://www.site.com/var/cache/texttoimage/imagetext/0/0/e/00ec564ac8848a9f440300874f03c50f/Servicios.png Which works. These are my rewrite rules in the virtualhost setting so far:
RewriteCond /home/xxx/public_html/static/index.html -f
RewriteRule ^/$ /static/index.html [L]
RewriteCond /home/xxx/public_html/static/index.html -f
RewriteRule ^$ /static/index.html [L]
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteCond /home/xxx/public_html/static$1/index.html -f RewriteRule ^(.*)$ /static$1/index.html [L]
Rewriterule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
Rewriterule ^/share/icons/.* - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L] RewriteRule .* /index.php
RewriteCond %{HTTP_HOST} ^webdav\..* RewriteRule ^(.*) /webdav.php [L]
RewriteCond %{HTTP_HOST} ^soap\..* RewriteRule ^(.*) /soap.php [L] Any ideas? Thanks, Felipe
Felipe Jaramillo
eZ Certified Extension Developer
http://www.aplyca.com | Bogotá, Colombia
|