Caching problems

seems like IE6 cant detect the linked css… but if we add _nocache in the url then it will detect the css.
is there a setting that can be than such that we dont have to add _nocache on the address?


IE6 should have no problem with Linked CSS files that are Live with Public Read permission. However, you can try enabling "Use Static Cache File" on the Details screen of the CSS File asset to see if that makes a difference. You will need to clear the cache on the Design that links to your CSS File asset though (so it picks up the new URL).

how can i do that?... the last time i enabled "Use Static Cache File", the css didnt show of in all browsers and i ended up recostumizing the css :(

You need to ensure that the CSS File asset is Live with Public Read permission. You also need to ensure that your CSS File asset only has valid URLs so that the static cache file writes out the correct URLs.

Sounds like something has gone wrong at the parse level. I would look at the surrounding code in your design file for a small mistake…


its already live with publi permission. i didnt ge what you mean about ensuring ss file asset only has valid URLs.
if i view he page trough an achor link, the css wont show up but if i refresh the page or just view the page by typing its url in the address bar of the browse then the css works fine.

i just found out that this problem also exists in all of our made sites.

[quote]Sounds like something has gone wrong at the parse level. I would look at the surrounding code in your design file for a small mistake...[/quote]


these are the line of codes that links the css file to the design:
[color="#A0522D"]
<MySource_AREA id_name="calendar_main" design_area="linked_css" cache="1" />
<MySource_AREA id_name="calendar_default" design_area="linked_css" cache="1" />

We have this problem on all our sites with design costumizations

[quote]<MySource_AREA id_name="calendar_main" design_area="linked_css" cache="1" />
<MySource_AREA id_name="calendar_default" design_area="linked_css" cache="1" />[/quote]



Take the cache="1" out of the MySource_AREA tag. You don't need to cache this. I very rarely recommend adding cache="1" to a design area.


ok i already took the cache="1"...

but still not fixed. :(

I would need to be able to view the system to see what's happening. No-one else has ever reported not getting the CSS Files correctly.

Are you seeing the URLs in the source properly?

[quote]I would need to be able to view the system to see what's happening. No-one else has ever reported not getting the CSS Files correctly.


Are you seeing the URLs in the source properly?[/quote]



the url of the linked css when i view source the page is present in the css asset webpath.

But in ie6, i cant view source it because the the browser is still searching the files which includes the css.


You are kidding right? :huh:
That's written in stone in the manuals...

You should cache all design areas that you can. Some should not be cached, like the body design area or any areas that contain dynamic content. It is up to you to decide what to cache, but don't let Avi's habits influence your own :slight_smile:

Yes, I don't write the manuals for good reason. :slight_smile:


This suggests that something else is wrong -- you should always be able to view the source of a page being generated by Matrix.

what i mean is.
yes we can view the source code of matrix in ie6 if only it finishes loading all the associated files attached to the page.
the problem is that when i open the page in ie6, it cannot find the css file linked to it which causes the browser to continue searching the css file.
i tried letting it search until it stops by itself but it since now, it havent stopped searching the file. i guess the problem is in the path of the css file.

when i view the page in ie6 through a linked text, the browser cant find the css file. but when i refresh it again, ie6 can now find the css file and loads it.

Are you using any conditional CSS statements? Would love a URL to have a 'squiz'.


Yes, same. I've never seen this before, so I don't know what else to suggest.

If you right click on the css file asset and go to the "web paths" screen, what web paths does it display? You should try loading each of those in a browser to make sure they are valid urls.




yeah the css have valid urls i tried testing it i can even view the pages css if i refresh the page so taht means it reads the css already but the problem is it wont appear if i viewed the page through clicking a link to it. after clicking the link, you need to refresh the page so the css files can be read by IE6 browser