开发者

Are files run on local machines cached?

开发者 https://www.devze.com 2023-01-05 08:47 出处:网络
I had a nightmare last night. I\'ve been working on an mvc website. I\'d created my master view and had ALL my styling in a seperate css file. I\'ve created a ton of View pages as well. All of a sudde

I had a nightmare last night. I've been working on an mvc website. I'd created my master view and had ALL my styling in a seperate css file. I've created a ton of View pages as well. All of a sudden, out of nowhere, I get the blue screen of death. Checkdisk runs etc and when the OS gets back up and running my masterpage and css file are corrupted beyond belief. I have to start all over again.

I'm at work now and and had an aha moment. I can't check right now but I wondered if the old css file would still be in my cache/temp internet files folder? I checked at work for another project but non of the files that are run locally (on localhost) seem to be in there (which kind of makes sense but I'm praying it's not normally the case).

Does anyone know if local files are normally cached? Also, if a cached file is changed and localhost is re-run, the old file will be overwritten won't it?

Trying to hold onto a glimer of hope before going home to disect my file s开发者_运维问答ystem. Three days of work down the pan! 1 lesson on backing up learnt!


Yes, CSS files normally get cached.

0

精彩评论

暂无评论...
验证码 换一张
取 消