similar to: Remove session string from css and js file?

Displaying 20 results from an estimated 3000 matches similar to: "Remove session string from css and js file?"

2006 Sep 20
17
Newbie : What is the number Rails adds in images URL, etc?
If I write : <%= image_tag "rails.png" %> I get in HTML : <img alt="Rails" src="/images/rails.png?1158095722" /> What is the number at the end of the src tag ? What is it for ? Thanks :). Nicolas. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2007 Mar 24
4
image file URL generated by image_tag include some parameter
I''m using image_tag to generate img tag. URL of image file generated by image_tag include a parameter like following. "http:// ..... /images/filename.gif?123123123" What''s this number parameter for? How can I remove it? I''m using rails with built-in WEBrick server in test mode. --~--~---------~--~----~------------~-------~--~----~ You received this message
2006 Jun 27
11
Newb question
This isn''t affecting my app, but I''d like to know the reason why I''m seeing this. In my layout, the following code <%= image_tag "front.jpg", :size =>"760x175" %> generates <img alt="Front" height="175" src="/images/front.jpg?1122106054" width="760" /> Where is the parameter in the
2005 Nov 21
10
Anybody using SCGI in production?
Or does anybody prefer fastcgi/fcgi? I''m using webrick for development, but plan on using scgi when I switch to production (because it appears to be an update to fastcgi, and I couldn''t get fastcgi working anyhow). thanks csn __________________________________ Yahoo! Mail - PC Magazine Editors'' Choice 2005 http://mail.yahoo.com
2008 May 06
3
expires header for .css
I''m using mongrel as my http server. I was using yslow to evaluate the performance of my web site and noticed I was downloading the .css file on every request??? I use one .css file for the whole site and I though I would be cached? Yslow indicates that there is no expires date/time set for the css file. How can I tell mongrel to send an expires header with my static content? thanks,
2008 Aug 01
2
image_path without timestamp
Every time I use an asset tag helper, there is a parameter appended to the end of my file name. e.g. <input src="/images/search.gif?1213816620" type="image" /> From what I am reading, this appears to be a timestamp for caching purposes. It works in most cases, but I want to use image_path to embed a flash file. .swf file in public/images/flash e.g.
2006 Apr 20
2
Image Display Question
Hello there, I have something odd happening to my image tags when displaying an image. Here''s what my ''<img src>'' tags are looking like: <img alt="2-thumb" src="/images/public/uploaded_images/2-thumb.jpg?" /> Notice the question mark at the end of the string. I have no idea where this coming from. Here are the important parts of my
2007 Jun 13
3
date_select css options
Just looked at the Date helper in the rails API and noticed that none of the functions there (i.e. date_select) allow me to specify html options (i.e. class) for the generated selects. I was wondering how do other group members css format date select dropdowns? Best, Gabor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2006 May 23
0
rails_asset_id, query strings, and browser caching
Hi all. Now that compute_public_path calls _rails_asset_id to append a query string containing the asset file''s modification date, all asset URLs contain query strings. [1] Which, in theory, is a fantastic thing for caching, since it forces browsers to download and not cache changed assets, allows them to cache unchanged assets forever, and has no effect on the actual file or what is
2007 Nov 04
2
Xen Network Problems
Hi all: I installed xen-3.0.4 on Fedora 7, and installed Fedora 6 as DomainU, but, the network can not work normally. It only work for seconds, then I lose connect. If I ifdown the NIC and ifup it, the network can work for a few seconds, Can anybody help me figure what''s the problem ?? Thank you in advance _______________________________________________ Xen-devel mailing list
2010 Jul 14
1
Running yum shows errors
Hi I am getting the following errors when i try to use yum to install the net-snmp paclages. [root at sc1 yum.repos.d]# yum install net-snmp Loaded plugins: fastestmirror Determining fastest mirrors Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229,
2006 Aug 04
2
how to remove ID from stylesheet_link_tag?
When I use stylesheet_link_tag, the results come back with a timestamp ID, like this: <link href="/stylesheets/style.css?1154009736" media="screen" rel="Stylesheet" type="text/css" /> I don''t want the query string and ID on the end, but I can''t see how to disable this in the docs. How do I do this? thanks, jeff -- Posted via
2005 Oct 22
2
problem with "gem update mysql"
Hi, I have activated scaffold in my first rails application ( following http://manuals.rubyonrails.com/read/chapter/38 ) and now I get the next error ''Packets out of order'' error was received from the database. Please update your mysql bindings (gem update mysql) and read http://dev.mysql.com/doc/mysql/en/password-hashing.html for more information. if I run the "gem
2007 Mar 19
3
XML support needed
The latest version of Password Safe was compiled with a new version of Visual Studio: VC8.0. The program continues to install and run fine, but when it attempts to write it's configuration file at exit, Wine/Windows pops up a dialog window titled "Password Safe" with the text: ----------------------------------------------------------------------- "Unable to use a XML reader
2006 Jul 02
3
fixme:win:SwitchDesktop
I just installed Wine last night. First let me say: it's awesome! Much better than I supposed. I decided to try Wine because I've been trying to get file compat- ability between Linux and PasswordSafe, a great Windows password manager. I copied all the PasswordSafe files to their own directory in my $HOME so that PasswordSafe could write it's database. I cd to that directory;
2006 May 25
3
caching of javascript and stylesheets
Is there a standard way to make sure a client''s web browser pulls the latest version of your style sheet or javascript file instead of using a cached one? We are currently using a tedious way where we add a version number to the file (e.g. screen-v12.css) and when Rails boots up it finds the latest version in the style sheet folder. On the other hand, I have seen Basecamp append
2007 Jun 20
3
hover and displaying divs
Please take a look at: http://www.lovelybooks.de/library/index.html?resetTabs=1&resetList=1 Can someone give me a hint how to display the divs (?) when moving the mousepointer over the images? Thanx --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this
2006 Jul 27
3
A number (id?) is added after css/js tags like style.css?1154009736
Dears, My Ror setup works.. but I can''t guess why <%= stylesheet_link_tag ''style'' , :media=> ''screen''%> is rended as <link href="/stylesheets/style.css?1154009736" media="screen" rel="Stylesheet" type="text/css" /> What is that number.. any usage ?? Or I misconfigured something ? Thanks
2007 Feb 18
3
Numbers on stylesheet_link_tag and image_tag
Can anyone explain to me exactly what are those numbers that rails appends to stylesheets and images when using stylesheet_link_tag or image_tag? At first I thought it would be so the browser wouldn''t cache the stylesheets, but that doesn''t make much sense for images, plus it seems that the numbers are unique, maybe based on the session. Any idea? Thanks
2007 Jan 19
4
Problem with link tags
Hell all, I have a layout were I add my stylesheets and javascript in the following manner: <%= stylesheet_link_tag "/form" %> <%= stylesheet_link_tag "/text" %> <%= javascript_include_tag :defaults %> But what happens is that in the actual web page the source is the following: <link href="/form.css?1168168516" media="screen"