phorcon3 Posted March 18, 2008 Share Posted March 18, 2008 so, here are a few lines of code i got off the website facebook http://static.ak.facebook.com/rsrc.php/73253/js/props.js?58:73253 and http://static.ak.facebook.com/rsrc.php/58024/css/notes_html.css?58:58024 what are those numbers for at the end of the url? caching? and what is rsrc.php? is it a caching program? all i could find on rsrc is: Contains a library of data used by a Mac OS application; used for developing programs for Mac OS 9 and earlier dont know if that has anything to do with what facebook is doin. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted March 18, 2008 Share Posted March 18, 2008 without seeing the actual code, there is no way for us to answer your questions. however, the rsrc.php has nothing to do with the mac resource fork. btw, that's not code, it's URL's. Quote Link to comment Share on other sites More sharing options...
phorcon3 Posted March 18, 2008 Author Share Posted March 18, 2008 yah, well, sorry but i forgot to add the <script> & <style> tags ..which would make it a line of code, id assume and thats obviously why i asked "what are those numbers for at the end of the url?" but thanks neway... ps, the code could be viewed under this url.. but i still cant figure out what those numbers actually do. Quote Link to comment Share on other sites More sharing options...
treehugger88 Posted March 18, 2008 Share Posted March 18, 2008 A lot of sites put randoms numbers on the end of the URL to keep them from being locally cached in the browser. Each set of numbers is seens as a different page to the browser, so it won't load from cache. Quote Link to comment Share on other sites More sharing options...
phorcon3 Posted March 24, 2008 Author Share Posted March 24, 2008 uh, alright. makes sense. thanks alot!! Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted March 24, 2008 Share Posted March 24, 2008 A lot of sites put randoms numbers on the end of the URL to keep them from being locally cached in the browser. Each set of numbers is seens as a different page to the browser, so it won't load from cache. that makes no sense at all because there is a simple header derivative that prevents caching of a page. The numbers are most likely used to help you cache a page in a fashion similar to how GET is used to make search query results bookmarkable and indexable vs. POST based results. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.