Lungisa imiba ye-Caching ngeFlash, iJavaScript, iXML, iKML okanye iiMephu zikaGoogle

Iidipozithi iifoto 27736851 s

Esi sisithuba esifutshane kwaye simnandi kwimicimbi yecaching. IiSayithi kunye neibrawuza zakhelwe ukuphucula izixhobo. Benza kakuhle ngamanye amaxesha kangangokuba umphumo wokugqibela uyaphula iwebhusayithi yakho enamandla endaweni yokuyihlaziya rhoqo ngendlela othanda ngayo. Namhlanje bendisebenza naye Umdlali weJW, Umdlali weFlash Movie odonsa kuluhlu lweemovie ngefayile yeXML.

Ingxaki kukuba sihlala sihlaziya ifayile ngeewebhu ezintsha kunye neeklasi zoqeqesho. Ukuba abathengi bethu bayaqhubeka nokuza kwiphepha mihla le, iya kulayisha ugcino lwakuluhlu lwadlalwayo kwaye ungaze ubabonise ezona zintsha kunye nezona zibalaseleyo.

Ngenxa yoko, kuye kwafuneka ndiqhekeze i- Ikhowudi yento ye-SWF ukuze icinge ukuba ilayisha uluhlu lokudlala olutsha ngalo lonke ixesha.

var video = new SWFObject('player.swf','mpl','670','280','9');
var playlist = 'playlist.xml't='+Math.round(1000 * Math.random());
video.addParam('allowscriptaccess','always');
video.addParam('allowfullscreen','true');
video.addParam('flashvars','&file='+playlist+'&playlistsize=350&controlbar=over&playlist=right');
video.write('video');

Indlela endimkhohlise ngayo umdlali yayikukubeka umbuzo kwigama loluhlu oluvelise inani elingahleliwe lisebenzisa iJavaScript. Nokuba ngubani obetha iphepha, liza kukhangela igama lefayile elahlukileyo, ke umdlali uya kutsala uluhlu lokudlala luhlala lutsha ngalo lonke ixesha.

Ayisiyonto iluncedo yoMdlali weJW, ndikwasebenzisile obu buchule kwiiMephu zikaGoogle xa ndijongana neefayile zeKML ezitshintsha ngamandla. Yenza nje umbuzo ongacwangciswanga kwaye inkqubo iya kuphinda ilayishe (i-static) ifayile ye-KML ngalo lonke ixesha utyelelo lomsebenzisi. Kukuqhekeza, kodwa yindlela elula yokuguqula i-caching off kwezi zicelo zingenakho ukhetho.

enye izimvo

  1. 1

Ingaba ucinga ntoni?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda indlela idatha yakho yokubhaliweyo isetyenziswe ngayo.